summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log_rlimit.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-06-10 07:32:41 +1000
committerDave Chinner <david@fromorbit.com>2014-06-10 07:32:41 +1000
commit8612c7e594808e4a67bc2d4661f5925df2be3f51 (patch)
treebf13dd921033fb4aaba8bd5ad309e933b6427ad8 /fs/xfs/xfs_log_rlimit.c
parentb70f14e1ffbb47369b1cc2cdf558c3468ae9e484 (diff)
parent35f46c5f04cc7c45ce59d3ba4c28ba138184414b (diff)
downloadlinux-8612c7e594808e4a67bc2d4661f5925df2be3f51.tar.gz
linux-8612c7e594808e4a67bc2d4661f5925df2be3f51.tar.bz2
linux-8612c7e594808e4a67bc2d4661f5925df2be3f51.zip
Merge branch 'xfs-da-geom' into for-next
Diffstat (limited to 'fs/xfs/xfs_log_rlimit.c')
-rw-r--r--fs/xfs/xfs_log_rlimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_rlimit.c b/fs/xfs/xfs_log_rlimit.c
index 2af1a0a4d0f1..ee7e0e80246b 100644
--- a/fs/xfs/xfs_log_rlimit.c
+++ b/fs/xfs/xfs_log_rlimit.c
@@ -42,7 +42,7 @@ xfs_log_calc_max_attrsetm_res(
int size;
int nblks;
- size = xfs_attr_leaf_entsize_local_max(mp->m_sb.sb_blocksize) -
+ size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) -
MAXNAMELEN - 1;
nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK);
nblks += XFS_B_TO_FSB(mp, size);