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>
Mon, 12 Jan 2009 23:20:48 +0000 (18:20 -0500)
commitb37a7eecafb907e6758429d1b15ea1eec4878607
tree4960ea58b871242d22bb75bda8fcf729007204b0
parentb5b61d42b953c92e3677fea06ff5ab5de86ef5f2
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