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, 27 Apr 2014 02:27:45 +0000 (22:27 -0400)
commit0bb26c8cdda5934f8acbbe5b7af42334c9ab908c
treec8c532b1eedfbf02f5eb5d7e3dfb845f827f082c
parent936d8651bee7f3b5eed9bc25c19e1c214625807f
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