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, 24 Nov 2013 19:27:47 +0000 (14:27 -0500)
commit3199a0f9f03e82d5d27b9e1242a776f6d241c5e5
tree7b99f0b49a7af912097532cbb706d542810ede9f
parent31619c936f66bdcd34c1edc223d4df0b5cf8b593
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