Unionfs: remove custom read/write methods
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 04:07:20 +0000 (23:07 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 6 Mar 2011 08:43:03 +0000 (03:43 -0500)
commitecdad92f91270c07d7ac4b9cd024903a941b5b29
treec2715dee7efb1b1ab474de53d711da97e60ded9a
parentd1241825eacc5812e6e63f272b2b988474e413a2
Unionfs: remove custom read/write methods

Having them results in lockdep warnings about having locks and grabbing the
same class locks in do_sync_read/write which were called from
unionfs_read/write.  All they did was revalidate out file object sooner,
which will now be deferred till a bit later.  Instead, use generic
do_sync_read and do_sync_write.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/file.c