]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/reiserfs/super.c
VFS: Don't use save/replace_mount_options if not using generic_show_options
[mirror_ubuntu-artful-kernel.git] / fs / reiserfs / super.c
index 685f1e05699868cf59237cec9d3821b1ae2e1a61..306e4e9d172d4579206dd4367612a89059ea3c41 100644 (file)
@@ -1599,8 +1599,6 @@ static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg)
        }
 
 out_ok_unlocked:
-       if (new_opts)
-               replace_mount_options(s, new_opts);
        return 0;
 
 out_err_unlock:
@@ -1916,8 +1914,6 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent)
        char *qf_names[REISERFS_MAXQUOTAS] = {};
        unsigned int qfmt = 0;
 
-       save_mount_options(s, data);
-
        sbi = kzalloc(sizeof(struct reiserfs_sb_info), GFP_KERNEL);
        if (!sbi)
                return -ENOMEM;