]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/btrfs/ctree.h
btrfs: use kvzalloc to allocate btrfs_fs_info
[mirror_ubuntu-bionic-kernel.git] / fs / btrfs / ctree.h
index e77775f97d91783f52cb9677bdbaa6b111946f86..950c758d5cadaa5033c0ae7d36e6d55ede005be2 100644 (file)
@@ -2975,7 +2975,7 @@ static inline void free_fs_info(struct btrfs_fs_info *fs_info)
        kfree(fs_info->super_copy);
        kfree(fs_info->super_for_commit);
        security_free_mnt_opts(&fs_info->security_opts);
-       kfree(fs_info);
+       kvfree(fs_info);
 }
 
 /* tree mod log functions from ctree.c */