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