Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:20:36 +0000 (21:20 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 22 Nov 2013 23:56:25 +0000 (18:56 -0500)
commitc7d9ceca201e600ac4b7134e4e898951cc509f81
tree71a68d4d99dde4c02a0851f6862c0f7cb825fde5
parentf0b47c39f7d479dd7927e321d7ed84fc467116c9
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