GIT: unionfs2-2.6.27.y: bugfix: release superblock lock at end of ioctl method

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:32 EDT 2010


commit 3e8499172b6ed48ae60d04f49cab820948027d4c
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date:   Wed May 30 20:09:07 2007 -0400

    bugfix: release superblock lock at end of ioctl method
    
    Signed-off-by: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c
index e0d0552..b730934 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -743,6 +743,7 @@ long unionfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 	}
 
 out:
+	unionfs_read_unlock(file->f_dentry->d_sb);
 	unionfs_check_file(file);
 	return err;
 }


More information about the unionfs-cvs mailing list