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>
Sun, 24 Nov 2013 08:00:22 +0000 (03:00 -0500)
commitf498efc79c5ed8acddb78ada75b642d41e8e37e7
tree3fa69b846de0ac4d98ff56dd6011c3aa014ca16a
parentbc0bf360fbe46f9c0a906e5f1a78ce0a5307a8fe
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