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