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, 16 Jun 2011 22:48:08 +0000 (15:48 -0700)
commit7c168cf261ab999eb3f0a35cbd632047cc1ae3f0
treea2b7a15c25d173a8a05743f48b02973f7d524b16
parentb565e16407a9cfa104b53b2630b692eb523d1554
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