Unionfs: unlock lower parent inode correctly on error path
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 3 Dec 2009 23:59:10 +0000 (18:59 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 3 Dec 2009 23:59:10 +0000 (18:59 -0500)
commit2863a54e892564f66fc780c5f9edaa73a76013a8
tree74a19bb3a0e5d40884c916bd377053524a811550
parentddf4f4d43141033327b62efd34f19219da5fdf71
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