diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index f4397ce51482..e8b7a1ae163b 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; }