Unionfs: unlock lower parent inode correctly on error path
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 8 Nov 2009 23:18:56 +0000 (18:18 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 24 Nov 2013 17:30:03 +0000 (12:30 -0500)
commit95a52364a61491a4858b890fce7b9d437ce06b3d
treee6a6d6eba2470a04d2959e2bf68f2741e6f2c639
parentb9d43eb9776ea219a60064ca008cc8bf305f9730
Unionfs: unlock lower parent inode correctly on error path

Bug fix: on some errors, lower directory inode may remain locked and hold a
reference.  This was in ->create, ->symlink, and ->mknod.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c