diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index 80e8472d618b83f397baca30508aa76e69e652c6..d3090187fd76d0f65010e6184dbda48fb8114af8 100644 --- a/fs/btrfs/backref.c +++ b/fs/btrfs/backref.c @@ -1991,7 +1991,7 @@ struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, ifp = kmalloc(sizeof(*ifp), GFP_NOFS); if (!ifp) { - kfree(fspath); + vfree(fspath); return ERR_PTR(-ENOMEM); }