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>
Tue, 11 Nov 2014 01:23:54 +0000 (20:23 -0500)
commitdc0fb3621c193cd7f121a922164a80abd23806c5
tree7ab6e8b5e966c1a9c20c4e8031d659ceb174d7d3
parent2c5fd3deba46070dd2acf3768efdd7ea5760d7e2
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