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