summaryrefslogtreecommitdiff
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-09 16:56:34 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-09 16:56:34 -0400
commitff6af411ae65da95a1801668b9580c5c33f0f7d1 (patch)
tree51884fd53786d83fb25d1f6ce28afdd2ab2ce9a5 /fs/gfs2/ops_super.c
parentfa9f0e4925c7796afd14bf7bbf7a064078818bbc (diff)
[GFS2] vfree should be kfree (II)
The superblock is now created with kmalloc, not vmalloc. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r--fs/gfs2/ops_super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index addcf1334b3c..975e93b7992e 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -13,7 +13,6 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/statfs.h>
-#include <linux/vmalloc.h>
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <linux/kthread.h>
@@ -135,7 +134,7 @@ static void gfs2_put_super(struct super_block *sb)
/* At this point, we're through participating in the lockspace */
gfs2_sys_fs_del(sdp);
- vfree(sdp);
+ kfree(sdp);
}
/**