Unionfs: handle partial copyup errors gracefully
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 7 Nov 2008 21:50:16 +0000 (16:50 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Nov 2013 23:13:01 +0000 (18:13 -0500)
commiteeb32ce6bfeb7a8c4f694f37d9ac10a67c520a4d
tree1e4d31799de6cc7d90dd0242f3c811bf0fe06cc9
parentfe4ba5740f4eb8c15167522170a9cf7f08a410d5
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