Unionfs: create whiteout in correct dir after rename with copyup
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Jan 2009 02:02:18 +0000 (21:02 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Jan 2009 02:02:18 +0000 (21:02 -0500)
commit6bea52389c5f63edd44aed7c422816a550e1396a
tree1a16a8b493762918344801a68172168ecfe954d4
parent07e935576b71d382106a663621cfe5d62de62075
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