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, 1 Dec 2013 00:52:38 +0000 (19:52 -0500)
commit3724ca144ef02bf168f12d0d87e82cafc271850e
tree6ca6aa4378701040b553c67dc3b778ebacc1021c
parent56496aa5301848fffa8268683a7af26e5fde1e2c
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