diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-09 16:56:34 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-09 16:56:34 -0400 |
commit | ff6af411ae65da95a1801668b9580c5c33f0f7d1 (patch) | |
tree | 51884fd53786d83fb25d1f6ce28afdd2ab2ce9a5 /fs | |
parent | fa9f0e4925c7796afd14bf7bbf7a064078818bbc (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')
-rw-r--r-- | fs/gfs2/ops_super.c | 3 |
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 @@ | |||
13 | #include <linux/completion.h> | 13 | #include <linux/completion.h> |
14 | #include <linux/buffer_head.h> | 14 | #include <linux/buffer_head.h> |
15 | #include <linux/statfs.h> | 15 | #include <linux/statfs.h> |
16 | #include <linux/vmalloc.h> | ||
17 | #include <linux/seq_file.h> | 16 | #include <linux/seq_file.h> |
18 | #include <linux/mount.h> | 17 | #include <linux/mount.h> |
19 | #include <linux/kthread.h> | 18 | #include <linux/kthread.h> |
@@ -135,7 +134,7 @@ static void gfs2_put_super(struct super_block *sb) | |||
135 | 134 | ||
136 | /* At this point, we're through participating in the lockspace */ | 135 | /* At this point, we're through participating in the lockspace */ |
137 | gfs2_sys_fs_del(sdp); | 136 | gfs2_sys_fs_del(sdp); |
138 | vfree(sdp); | 137 | kfree(sdp); |
139 | } | 138 | } |
140 | 139 | ||
141 | /** | 140 | /** |