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