Unionfs: bugfix: don't call branchget() until dentry_open succeeded
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 17 Jul 2007 03:56:26 +0000 (23:56 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Sat, 21 Jul 2007 19:45:59 +0000 (15:45 -0400)
commit8803232e73339a125932b26d930f56f13c5a39e1
tree3608d1eaa6f5f11e5477ee69797e17b2f77d6af5
parentedd1c73dab46bd152075f9e3d3b9dfd5797d672e
Unionfs: bugfix: don't call branchget() until dentry_open succeeded

If dentry_open fails, we incorrectly have incremented our branch counts
which would prevent unionfs from being unmounted (EBUSY).

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