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