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, 31 Jan 2012 08:01:16 +0000 (03:01 -0500)
commitae489146d5fc25a4b18d3e935e682c175809db8a
treeffa6e630ade5d20d4589400e04b9f6b1f388f25e
parent30d705a16f3f5bfefd52a3ebc6e3de34e2ac92ea
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