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>
Thu, 6 Aug 2009 19:38:03 +0000 (15:38 -0400)
commit84ec638809037c36d4699cdf6215a5637a4cee6c
tree21cbfb27b849c314fb6909e7bbea4aac2261459f
parent5be75ce9e75c02021a2a06afc1351a61c993d138
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