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>
Fri, 12 Aug 2011 02:37:14 +0000 (22:37 -0400)
commit920445af8a7f8c27fb2ac608519bb6d0faec2a80
tree206042b3a902107f6a7e04956fd106e62f3d4628
parent4c57e4d3455898e28b26319ffbb7cbf3b048e502
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