Unionfs: create whiteout in correct dir after rename with copyup
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Jan 2009 02:00:46 +0000 (21:00 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Nov 2013 23:13:03 +0000 (18:13 -0500)
commitea742dcca9b04f6f94548dac509fc3e63efc8df8
tree5bd4c4dfe20291263749b63f373ab5a5132b73ec
parent55203bf0c5018cfecb386e8e40a30890896eb7f8
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