Unionfs: remove custom read/write methods
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:05:33 +0000 (17:05 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:05:33 +0000 (17:05 -0500)
commit20aee4ba7f8f4bc16ec605364d8c2aa09ae1e293
treedc6070f11409bf76e7fff95c2d8a8a098e2acfa4
parent1ff6c8064f5054834020f272fd19b6f2131c88c0
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