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)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:02:47 +0000 (19:02 -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 52b01438ade66ad5fe8c6e1a36dd295bf5c1fc99..db77412ddf550bb9dc0cf35087559f1ad4845f65 100644 (file)
@@ -814,6 +814,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;
 }