Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:16:03 +0000 (21:16 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:16:03 +0000 (21:16 -0400)
commitec149de365ba4077b6cad5ea407f21533d1ebd06
treecc46154479e0686d5b7e01a7d7b37a9049466962
parent0564a53019e3340c5b6f2878776e174e2afa09da
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