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>
Fri, 6 Aug 2010 03:01:35 +0000 (23:01 -0400)
commit237d849462825607c1c7428eee15f3d1ed50892d
tree7cdc25b13a46ce4b3a26fd9b936b41600b0758ba
parent04f67407032317f2b8393af057425700ff6b91c0
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