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>
Fri, 12 Aug 2011 02:39:31 +0000 (22:39 -0400)
commite8c93f7acb9cc515291d55a7f276b140d7c20f65
tree1d084a16e1d9bf2f3c4876fe7e4a7d8180bf934c
parent2c61679ae0983766d54bf20e01dc69d82be0fdc3
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