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