提交 ff6af411 编写于 作者: S Steven Whitehouse

[GFS2] vfree should be kfree (II)

The superblock is now created with kmalloc, not vmalloc.
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 fa9f0e49
......@@ -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);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册