bugfix: release superblock lock at end of ioctl method
authorErez_Zadok <ezk@cs.sunysb.edu>
Thu, 31 May 2007 00:09:07 +0000 (20:09 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 20 Jun 2014 00:40:04 +0000 (20:40 -0400)
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c

index e0d05527e213aff4287afed4b3019fb4dc2e1563..b730934146d58337b94b289d474d2ac41f1caf24 100644 (file)
@@ -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;
 }