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