Unionfs: handle partial copyup errors gracefully
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 04:03:20 +0000 (23:03 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 04:03:20 +0000 (23:03 -0500)
commit076490fb52aa38b581895c03a8c53388f9ddd215
tree1963b2387cd5327c370956cfa956cef566e105fd
parent053f6c18568b7b602c7d27b26916d7cf2ca8060d
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