diff options
| author | David Sterba <[email protected]> | 2016-05-16 13:46:23 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2016-05-16 13:46:23 +0000 |
| commit | 73d32ce21e1701eaafcea3cbc2a8f27ab1967abe (patch) | |
| tree | 136c03e4be575e4466ef9df119b8debdf768a56a /fs/btrfs/backref.c | |
| parent | Linux 4.6-rc5 (diff) | |
| parent | btrfs: fix memory leak during RAID 5/6 device replacement (diff) | |
| download | kernel-73d32ce21e1701eaafcea3cbc2a8f27ab1967abe.tar.gz kernel-73d32ce21e1701eaafcea3cbc2a8f27ab1967abe.zip | |
Merge branch 'misc-4.7' into for-chris-4.7-20160516
Diffstat (limited to 'fs/btrfs/backref.c')
| -rw-r--r-- | fs/btrfs/backref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index 80e8472d618b..d3090187fd76 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); } |
