GIT: unionfs2-2.6.27.y: Unionfs: drop branchcount on error
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:18:07 EDT 2010
commit f1301e18c4a216269ab36a930bdc880a7e7c0d42
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date: Wed Sep 10 23:41:18 2008 -0400
Unionfs: drop branchcount on error
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c
index 5861970..51f10a2 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -181,6 +181,7 @@ static int open_all_files(struct file *file)
unionfs_lower_mnt_idx(dentry, bindex),
file->f_flags);
if (IS_ERR(lower_file)) {
+ branchput(sb, bindex);
err = PTR_ERR(lower_file);
goto out;
} else {
More information about the unionfs-cvs
mailing list