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:29:20 +0000 (15:29 -0400)
commit99fd72c4f800602e78d9c20cc8d488caf0040b98
tree6ff889f54b009a2a778962dc9416b31b1bd1c775
parentad771104676bc40af034f25bd65834c987395594
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