bugfix: remove extra superblock rwsem unlock call
authorErez_Zadok <ezk@cs.sunysb.edu>
Sun, 3 Jun 2007 06:26:36 +0000 (02:26 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 29 Apr 2011 02:24:03 +0000 (22:24 -0400)
This also makes the code more symmetric: the same code which locks also
unlocks the rwsem.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c

index 427f70b89230b15641dc1aec950278918291d593..0e923df9cbd982f6038d42a64bbc9cd4e4ffb566 100644 (file)
@@ -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;
 }