Unionfs: don't check parent dentries
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 10 Jan 2008 12:13:01 +0000 (07:13 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:33 +0000 (19:03 -0400)
commitab26f54d895199f79e9ba133ef923450ceb0bcbb
tree286f1e5e2df0378b897946b67b6b73c58f3e257f
parent7011bb86a40e297211c4b8562c8df1e3077fbcdf
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