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>
Wed, 30 Mar 2011 23:21:22 +0000 (19:21 -0400)
commitaa2f67b53284e070324bb2376bd4481728d1de2e
tree55c5b57afb5922377c38ef99cb066be3b2618709
parenta9f9ab79e63c07319f72a43b2226c3cc39159d49
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