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, 1 Dec 2013 00:53:56 +0000 (19:53 -0500)
commit3f85b167b78ad7af92da2659142866483973b4ed
tree7458b2c8b9e08c8f1547399e538aca1e761e5f7c
parentc624df3b644b5de621af3ce54742cee33fae473b
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