diff options
Diffstat (limited to 'fs/ocfs2/ioctl.c')
-rw-r--r-- | fs/ocfs2/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c index 726ff265b296..892ace253f97 100644 --- a/fs/ocfs2/ioctl.c +++ b/fs/ocfs2/ioctl.c | |||
@@ -906,7 +906,7 @@ long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
906 | if (get_user(flags, (int __user *) arg)) | 906 | if (get_user(flags, (int __user *) arg)) |
907 | return -EFAULT; | 907 | return -EFAULT; |
908 | 908 | ||
909 | status = mnt_want_write(filp->f_path.mnt); | 909 | status = mnt_want_write_file(filp); |
910 | if (status) | 910 | if (status) |
911 | return status; | 911 | return status; |
912 | status = ocfs2_set_inode_attr(inode, flags, | 912 | status = ocfs2_set_inode_attr(inode, flags, |