commit 2f8d62d5e6e67f92fb9d927d81c35aae73731c6d
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Fri Sep 19 01:08:11 2008 -0400
Unionfs: drop branchcount on error
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
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 {
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs