Unionfs: unlock lower parent inode correctly on error path
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 4 Dec 2009 00:19:01 +0000 (19:19 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 4 Dec 2009 00:19:01 +0000 (19:19 -0500)
commit4cc5a7743179bdfebe001307797d2a68bbc7bcf9
treef0d9309d11b9cc3f92920ce0e41090315daba6c4
parent9a77895b9ec155a77e35cc5469e86e337767a183
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