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, 31 Jan 2012 07:58:44 +0000 (02:58 -0500)
commitfd5eccbfa6c7c73466944962d34664946692049e
treeea3d84617ec8ef79e2828f3f08d154f947f48884
parent6ed4c0a89e640ebd923be40e6fafba12e6f8ca51
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