summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/ops_fstype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index f4397ce5148..e8b7a1ae163 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -769,7 +769,7 @@ fail_lm:
fail_sys:
gfs2_sys_fs_del(sdp);
fail:
- vfree(sdp);
+ kfree(sdp);
sb->s_fs_info = NULL;
return error;
}