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>
Tue, 11 Nov 2014 01:24:01 +0000 (20:24 -0500)
commitc0960cb2693c7e8b34fb81312a7ca9a4469d7056
tree8c2229435ea693124ef3d8e41dcce3d04a900758
parentf06a417fa54b0230f4ad91be154d9736082782dc
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