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>
Tue, 13 Jan 2009 01:43:15 +0000 (20:43 -0500)
commitcce692c7623d5c19f2ca053f5e5aad2a0b168caa
treeaa74927717be933b438425d7de31d719409e8098
parentbab1c854c3945f94d5aff560b75959b8b1e3389a
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