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>
Thu, 16 Jun 2011 22:45:29 +0000 (15:45 -0700)
commit3126cea1e30620cdeb82c3d89ca4df541bc1da4c
tree922bb58ec16e5fdc4a1685295cd1a24d42f8f471
parent5b61747c7ae9b0b6b9eb9b3cce434e25f6574362
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