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 18:38:04 +0000 (13:38 -0500)
commit9c1b0ce0b4277f16c762cba59ee83440407e53ba
tree616dcaea922f998841c36e92ddc1dd61fd2e0a53
parent87e5bd6416eb10c815f642c9e0911197ce09671e
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