GIT: unionfs2-2.6.27.y: bugfix: remove extra superblock rwsem unlock call

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


commit 348a9bd604fcb27b3870d97c6562e9844525023d
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date:   Sun Jun 3 02:26:36 2007 -0400

    bugfix: remove extra superblock rwsem unlock call
    
    This also makes the code more symmetric: the same code which locks also
    unlocks the rwsem.
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c
index 427f70b..0e923df 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -670,7 +670,6 @@ static long do_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 	}
 
 out:
-	unionfs_read_unlock(file->f_dentry->d_sb);
 	return err;
 }
 


More information about the unionfs-cvs mailing list