diff options
Diffstat (limited to 'fs/gfs2/mount.c')
-rw-r--r-- | fs/gfs2/mount.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/mount.c b/fs/gfs2/mount.c index 8c0f16e301f6..3cb0a44ba023 100644 --- a/fs/gfs2/mount.c +++ b/fs/gfs2/mount.c | |||
@@ -85,14 +85,6 @@ int gfs2_mount_args(struct gfs2_sbd *sdp, char *data_arg, int remount) | |||
85 | int error = 0; | 85 | int error = 0; |
86 | 86 | ||
87 | if (!remount) { | 87 | if (!remount) { |
88 | /* If someone preloaded options, use those instead */ | ||
89 | spin_lock(&gfs2_sys_margs_lock); | ||
90 | if (gfs2_sys_margs) { | ||
91 | data = gfs2_sys_margs; | ||
92 | gfs2_sys_margs = NULL; | ||
93 | } | ||
94 | spin_unlock(&gfs2_sys_margs_lock); | ||
95 | |||
96 | /* Set some defaults */ | 88 | /* Set some defaults */ |
97 | args->ar_quota = GFS2_QUOTA_DEFAULT; | 89 | args->ar_quota = GFS2_QUOTA_DEFAULT; |
98 | args->ar_data = GFS2_DATA_DEFAULT; | 90 | args->ar_data = GFS2_DATA_DEFAULT; |