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>
Tue, 11 Nov 2014 02:35:56 +0000 (21:35 -0500)
commit33387d25b623552ca268abeb6c3e971daa37bedf
tree220ace51ecb423013c8e7ee66b8033cfe3dabf19
parent2994b5b016e4f2452b90f860b31605e61a3c8279
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