switch a bunch of places to mnt_want_write_file()
[cascardo/linux.git] / fs / jfs / ioctl.c
index 6f98a18..73d9eaa 100644 (file)
@@ -68,7 +68,7 @@ long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
                unsigned int oldflags;
                int err;
 
-               err = mnt_want_write(filp->f_path.mnt);
+               err = mnt_want_write_file(filp);
                if (err)
                        return err;