vfs: mnt_drop_write_file()
[linux-2.6-block.git] / fs / jfs / ioctl.c
index 73d9eaa91c0590373322654afb5a27b40da8387b..f19d1e04a374b39e9dc97779f9539d5598f032dd 100644 (file)
@@ -120,7 +120,7 @@ long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
                inode->i_ctime = CURRENT_TIME_SEC;
                mark_inode_dirty(inode);
 setflags_out:
-               mnt_drop_write(filp->f_path.mnt);
+               mnt_drop_write_file(filp);
                return err;
        }
        default: