summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extfree_item.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2016-07-22 06:10:56 +0200
committerDave Chinner <david@fromorbit.com>2016-07-22 06:10:56 +0200
commitf2bdfda9a1c668539bc85baf5625f6f14bc510b1 (patch)
tree18d704e07dda3a8842e84c645f4cbb5fb4859da1 /fs/xfs/xfs_extfree_item.c
parentMerge branch 'xfs-4.8-dir2-sf-fixes' into for-next (diff)
parentxfs: remove EXPERIMENTAL tag from sparse inode feature (diff)
downloadlinux-f2bdfda9a1c668539bc85baf5625f6f14bc510b1.tar.xz
linux-f2bdfda9a1c668539bc85baf5625f6f14bc510b1.zip
Merge branch 'xfs-4.8-misc-fixes-4' into for-next
Diffstat (limited to 'fs/xfs/xfs_extfree_item.c')
-rw-r--r--fs/xfs/xfs_extfree_item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c
index 4aa0153214f9..ab779460ecbf 100644
--- a/fs/xfs/xfs_extfree_item.c
+++ b/fs/xfs/xfs_extfree_item.c
@@ -40,6 +40,7 @@ void
xfs_efi_item_free(
struct xfs_efi_log_item *efip)
{
+ kmem_free(efip->efi_item.li_lv_shadow);
if (efip->efi_format.efi_nextents > XFS_EFI_MAX_FAST_EXTENTS)
kmem_free(efip);
else
@@ -300,6 +301,7 @@ static inline struct xfs_efd_log_item *EFD_ITEM(struct xfs_log_item *lip)
STATIC void
xfs_efd_item_free(struct xfs_efd_log_item *efdp)
{
+ kmem_free(efdp->efd_item.li_lv_shadow);
if (efdp->efd_format.efd_nextents > XFS_EFD_MAX_FAST_EXTENTS)
kmem_free(efdp);
else