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>
Sat, 16 Aug 2014 02:29:43 +0000 (22:29 -0400)
commitc2f6af8a20fe12a6eaa55ad9d3d92b17ef65057d
treeddd0ff9a18f3b7bd7fef49cdbae8a07df261f1da
parentd3234e5892c28b025556ce4efd42d3a4ccd7f896
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