summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/mount.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-11-26 14:01:26 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2009-01-05 07:39:13 +0000
commit2e204703a1161e9bae38ba0d3d0df04a679e6f4f (patch)
tree502c1851fafb35d32ed99d7dff37cf390410f496 /fs/gfs2/mount.c
parent2bfb6449b7a1f29a2a63e1d869103b5811c3b69f (diff)
downloadop-kernel-dev-2e204703a1161e9bae38ba0d3d0df04a679e6f4f.zip
op-kernel-dev-2e204703a1161e9bae38ba0d3d0df04a679e6f4f.tar.gz
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.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/mount.c b/fs/gfs2/mount.c
index 8c0f16e..3cb0a44 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)
int error = 0;
if (!remount) {
- /* If someone preloaded options, use those instead */
- spin_lock(&gfs2_sys_margs_lock);
- if (gfs2_sys_margs) {
- data = gfs2_sys_margs;
- gfs2_sys_margs = NULL;
- }
- spin_unlock(&gfs2_sys_margs_lock);
-
/* Set some defaults */
args->ar_quota = GFS2_QUOTA_DEFAULT;
args->ar_data = GFS2_DATA_DEFAULT;
OpenPOWER on IntegriCloud