Unionfs: remove whiteout if regular file also exists
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:20:35 +0000 (21:20 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:20:35 +0000 (21:20 -0400)
commit7c93b4834f2e52e62cf22f64a74af59a252afcdd
tree2512c0032c4660e1d0ac9d5c6d8c2c9f20acd230
parent1e4b5d7d02725b312d85ac2e5a13af12749f5163
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