diff options
| author | 2019-11-08 14:57:51 -0800 | |
|---|---|---|
| committer | 2019-11-10 16:54:20 -0800 | |
| commit | 545910bcc875377160b7b669e790865602a006f3 (patch) | |
| tree | 46f4cc99a7320551fc2e47482d10d9cd29f8e0ab /fs/xfs/libxfs/xfs_dir2_leaf.c | |
| parent | xfs: add an entries pointer to struct xfs_dir3_icleaf_hdr (diff) | |
| download | linux-rng-545910bcc875377160b7b669e790865602a006f3.tar.xz linux-rng-545910bcc875377160b7b669e790865602a006f3.zip | |
xfs: move the dir2 leaf header size to struct xfs_da_geometry
Move the leaf header size towards our structure for dir/attr geometry
parameters.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_leaf.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_dir2_leaf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2_leaf.c b/fs/xfs/libxfs/xfs_dir2_leaf.c index 5e3e96efdaca..888d4b0acab8 100644 --- a/fs/xfs/libxfs/xfs_dir2_leaf.c +++ b/fs/xfs/libxfs/xfs_dir2_leaf.c @@ -1132,7 +1132,7 @@ xfs_dir3_leaf_log_header( xfs_trans_log_buf(args->trans, bp, (uint)((char *)&leaf->hdr - (char *)leaf), - args->dp->d_ops->leaf_hdr_size - 1); + args->geo->leaf_hdr_size - 1); } /* |
