Unionfs: create whiteout in correct dir after rename with copyup
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Jan 2009 02:01:55 +0000 (21:01 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Jan 2009 02:01:55 +0000 (21:01 -0500)
commit24db125a477b647d28afb0bd5c20c5d74bf642ec
tree0f41b95199aac88804449b72306fdade904e47e7
parent3e8822da3bf4cf9ebce552a486dfc75dd93f0253
Unionfs: create whiteout in correct dir after rename with copyup

Fixes bug #625: a file renamed/moved into a directory, if resulted in a
copyup with a whiteout creation, could cause the whiteout to be created in
the wrong dir.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/rename.c