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 16:06:52 +0000 (11:06 -0500)
commit23e39f281e3b651bdea8dd8a1c9a3937f7aae9ae
treef7eeac2e2ec38ee9546d27d97b06b9485027aa2c
parent086843d44543a5c723f8893e724302e4f6f23f8c
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