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>
Sun, 27 Apr 2014 02:27:32 +0000 (22:27 -0400)
commit0eb3e9a71936e743bb3fb6dd3dea112519b2c657
tree08679697037576f922e543aa6be0041d22b476b4
parente8f4850b2449c06f0f4664a42149f7f31c78dbb6
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