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>
Thu, 6 Aug 2009 19:38:04 +0000 (15:38 -0400)
commit4285b9306f9c85962601eebea566c1c0ba7b5c0c
tree7f6937e6a3c63abcc1cbdca6e5509af69bfd0c9a
parent823648dd8d84c43e6ca7826580139b2d99a4994e
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