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>
Sat, 16 Aug 2014 02:29:53 +0000 (22:29 -0400)
commitaf56c82856733f82aba964fca001ec85108cbe13
treebc18e319b8db488f6992a88d6de8fc374cd276a3
parent10ec6dac6e95aa828b3234b61b9e1c67ec018c1f
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