]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ubifs/ioctl.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-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;
        }