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, 20 Jun 2014 00:42:04 +0000 (20:42 -0400)
commit966f6e436b4e1c0ef17013a271a2503ca3354823
tree9219f2199a3f621c497844f7cc2cd3e5772df3b4
parentf4b69815fbfec9af359105ce2abafdc422d49db6
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