Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:24:53 +0000 (19:24 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:24:53 +0000 (19:24 -0400)
commita65dcc68d8b8099b108ca168d63c86b9e8a8bbea
tree4bb207d0c6c0fa580b5ec43966e22e087ac020c9
parent710377c440a5b055c6ce3401466ce83ade8be950
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