Unionfs: remove custom read/write methods
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 10 Jan 2008 11:57:30 +0000 (06:57 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:29 +0000 (19:03 -0400)
commita36218f534cb62cfcb96fdc77028af1351c59f5f
tree8d8461fafef491c920ec3d146921eb938692e5d9
parentf50a4d45f840a6f607ef53bae335ce1548cce926
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