Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 23 Apr 2011 02:01:28 +0000 (22:01 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 16 Jun 2011 22:48:42 +0000 (15:48 -0700)
commit39e7999312401684505848ce740ba59234647024
tree14acc62cc68aaafd8d6ff55d08f287ef97fcd2db
parente2ee86cec1e77aa7961fe2165a5fc2842e709f3d
Unionfs: remove whiteout if regular file also exists

We used to return EIO then, but it's safer to cleanup such a situation, if
it occurs, in check_unlink_whiteout, because we know for a fact that we want
to delete a whiteout if one exists.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/whiteout.c