[GFS2] vfree should be kfree (II)
authorSteven Whitehouse <swhiteho@redhat.com>
Sat, 9 Sep 2006 20:56:34 +0000 (16:56 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Sat, 9 Sep 2006 20:56:34 +0000 (16:56 -0400)
The superblock is now created with kmalloc, not vmalloc.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_super.c

index addcf13..975e93b 100644 (file)
@@ -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);
 }
 
 /**