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>
Wed, 6 Jan 2010 03:45:13 +0000 (22:45 -0500)
commit0d6e769b45e6249f8d6d0813ce0d741995b8cb3d
tree8fa959866a48ab3a157f16aaef7d5212c03d7b72
parentd5b5f66b25130fe1d7ef68979280d19e78127c78
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