Unionfs: handle partial copyup errors gracefully
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 7 Nov 2008 21:50:16 +0000 (16:50 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 6 Mar 2011 08:43:26 +0000 (03:43 -0500)
commit0616a2cb40e5bfc6375612431251c1a35339398d
tree405d81e2d626968b9ea7b5e9bc9abc7d3f8c54c1
parentca591968e5213e047bbcf728142eef8d5489cdea
Unionfs: handle partial copyup errors gracefully

Don't leave any dentries behind if copying up the inode (or setting its
permission, i.e., using TOMOYO) failed.

CC: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/copyup.c