Unionfs: handle partial copyup errors gracefully
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 04:01:18 +0000 (23:01 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 20 May 2009 21:00:05 +0000 (17:00 -0400)
commitdaf5396911715fe8534197d3dfda3a8fbb622cd1
tree9989e5a2f04b61a352a9af1a6cc66abfcb16a498
parentd7ef28e7adf82b46182b31428b477cf15a46cad3
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