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>
Sat, 23 Nov 2013 01:09:10 +0000 (20:09 -0500)
commit670afedb7fa441ce8b2499a2390894887deb9614
tree820000c8a47640f665fa37c22a214f8f6d0a28b6
parenteabaf83722def64e961662329b61594ef2ead310
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