Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Apr 2011 05:33:56 +0000 (01:33 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 27 Apr 2014 02:28:00 +0000 (22:28 -0400)
commitefa71fcbaf8ba5bb02b17ef0f6b4943014cd5a72
tree5b0cb201367505c2df8c41decdfc2adb83359581
parent14ded6f11dba66bafdafb98bb8b7d7f4820fab97
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