Unionfs: don't check parent dentries
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 28 Dec 2007 15:47:48 +0000 (10:47 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 28 Dec 2007 15:47:48 +0000 (10:47 -0500)
commite7d8f2ba8ce288838d7220ac86285663c18b2f4c
tree5c0f6b9442b4c75cde5fcccf5c30febb4f8f9090
parent7beaec45b800f2268fc3cbdf6356e6f7e0d99ba4
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