]> Git Repo - linux.git/blobdiff - fs/ubifs/ioctl.c
UAPI: (Scripted) Disintegrate include/linux
[linux.git] / fs / ubifs / ioctl.c
index 548acf494afd1720a4181e4dbd6861970b24ab34..1a7e2d8bdbe92c7145c23c9d82382bcc157b12b2 100644 (file)
@@ -173,12 +173,12 @@ long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                 * Make sure the file-system is read-write and make sure it
                 * will not become read-only while we are changing the flags.
                 */
-               err = mnt_want_write(file->f_path.mnt);
+               err = mnt_want_write_file(file);
                if (err)
                        return err;
                dbg_gen("set flags: %#x, i_flags %#x", flags, inode->i_flags);
                err = setflags(inode, flags);
-               mnt_drop_write(file->f_path.mnt);
+               mnt_drop_write_file(file);
                return err;
        }
 
This page took 0.033787 seconds and 4 git commands to generate.