Unionfs: create whiteout in correct dir after rename with copyup
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 19 Jan 2009 02:01:41 +0000 (21:01 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 22 Nov 2013 23:56:13 +0000 (18:56 -0500)
commit8d33793b2475bb5495b883c012d8eaf70c48a968
tree2c0d7f310ad7858425736a5f0dddca95ba779492
parentd589b25d58f86ade120462e9b937fd4a62cedce0
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