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>
Wed, 30 Mar 2011 23:21:47 +0000 (19:21 -0400)
commitc376370624ddbbab2296d3131d5ca59d353900ef
tree5ff2d863ce5c315ea08644bea0a9a60a1c15cfb6
parent3e4fe8bd04d72aa6124a2151f1af0e8c255f6bf0
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