From: Steven Whitehouse Date: Sat, 9 Sep 2006 20:56:34 +0000 (-0400) Subject: [GFS2] vfree should be kfree (II) X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ff6af411ae65da95a1801668b9580c5c33f0f7d1;p=deliverable%2Flinux.git [GFS2] vfree should be kfree (II) The superblock is now created with kmalloc, not vmalloc. Signed-off-by: Steven Whitehouse --- 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 #include #include -#include #include #include #include @@ -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); } /**