diff options
author | Dave Chinner <david@fromorbit.com> | 2016-10-03 09:52:31 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-10-03 09:52:31 +1100 |
commit | 79ad57612495744d3875a6fba25c467a87b3ad64 (patch) | |
tree | 34532ea5817090e1b650da0c67135d169e7c5e16 /fs/xfs/xfs_super.c | |
parent | b036b97050a9799aaaee78a8501aa255a74a2db7 (diff) | |
parent | 3fd129b63fd062a0d8f5d55994a6e98896c20fa7 (diff) |
Merge branch 'xfs-4.9-reflink-prep' into for-next
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index fd6be45b3a1e..340975392e91 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1782,9 +1782,8 @@ xfs_init_zones(void) if (!xfs_rud_zone) goto out_destroy_icreate_zone; - xfs_rui_zone = kmem_zone_init((sizeof(struct xfs_rui_log_item) + - ((XFS_RUI_MAX_FAST_EXTENTS - 1) * - sizeof(struct xfs_map_extent))), + xfs_rui_zone = kmem_zone_init( + xfs_rui_log_item_sizeof(XFS_RUI_MAX_FAST_EXTENTS), "xfs_rui_item"); if (!xfs_rui_zone) goto out_destroy_rud_zone; |