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>
Tue, 11 Nov 2014 01:43:18 +0000 (20:43 -0500)
commit978fcef0d90fe553e51c8c5f938a7c32b9763afc
tree5edeb77cf3bd89765171e09d0cb3b6350bc37098
parent8a207d58c91b215263a68440b1cc0385d9829ab2
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