Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 04:02:47 +0000 (00:02 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 20 Jun 2014 00:42:15 +0000 (20:42 -0400)
commitb258c304632c2441413bab69632b7fcc8ce83c84
tree1f7f179372b1db000063bf2fcf97a8e129046bb6
parent2b865e2b116c21151592a8fc61e9b77e31d21ee1
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