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>
Sat, 30 Nov 2013 23:13:19 +0000 (18:13 -0500)
commit4b37d5f9b1f14dd38dcbfdf5d2a1f80dd2dd18fd
treec813e8b5bfa2bd91fd61cd175222ab36912804ec
parentc921a52619b14ce3113a1f97bd2352d7d06345f7
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