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>
Tue, 6 Sep 2011 01:20:36 +0000 (21:20 -0400)
commit90af6b57d53b153291c873f806c4068f080a9b07
tree0442e0e0071bc38296fb02fce5eabd6cee5b0df6
parent91294dfad6fa22cbdccff2fb3f8f0599724d1605
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