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>
Tue, 13 Jan 2009 01:43:29 +0000 (20:43 -0500)
commit638d16893f597efbcff87908552bad3555788a09
treedbdaceddc2dfcf108189835c8bcbdda3d17cf287
parent65857a2429128ccea95c2176b5998bf0117640ba
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