Unionfs: don't check parent dentries
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 28 Dec 2007 15:53:44 +0000 (10:53 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 29 Apr 2011 02:25:43 +0000 (22:25 -0400)
commit594c642dbc946c2d602aa67a8db3efdb76d7a75d
tree21e47b1d0e224854d2619ab8cdec84a782c6bc3b
parent4d8c71a66239643d52ec53ba6c1b3f35e963e822
Unionfs: don't check parent dentries

Parent dentries may not be locked and may change, so don't check them.  But
do check parent inodes if they are passed to the method.  Also, ensure the
checks are done only if no error occurred.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c
fs/unionfs/file.c
fs/unionfs/inode.c