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, 11 Nov 2014 02:32:31 +0000 (21:32 -0500)
commit918140e705f68b8414bb06660b649e8d17a0105e
tree4829cb6944094ced988403df0b8c98cba581fc51
parent024b8ec6eca018b4372a6173681b5fc73b7bb287
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