diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-11-26 09:01:26 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-05 02:39:13 -0500 |
commit | 2e204703a1161e9bae38ba0d3d0df04a679e6f4f (patch) | |
tree | 502c1851fafb35d32ed99d7dff37cf390410f496 /fs/gfs2/mount.c | |
parent | 2bfb6449b7a1f29a2a63e1d869103b5811c3b69f (diff) |
GFS2: Remove ancient, unused code
Remove code that used to have something to do with initrd
but has been unused for a long time.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
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; |