diff options
author | Dave Chinner | 2014-06-06 07:14:11 +0200 |
---|---|---|
committer | Dave Chinner | 2014-06-06 07:14:11 +0200 |
commit | d6cf13051f31bf1a54b65643d0e578b3ca2f0692 (patch) | |
tree | 135c8bfa288892dde3979bdf0ae3ef03d2627300 /fs/xfs/xfs_bmap.c | |
parent | xfs: convert directory segment limits to xfs_da_geometry (diff) | |
download | kernel-qcow2-linux-d6cf13051f31bf1a54b65643d0e578b3ca2f0692.tar.gz kernel-qcow2-linux-d6cf13051f31bf1a54b65643d0e578b3ca2f0692.tar.xz kernel-qcow2-linux-d6cf13051f31bf1a54b65643d0e578b3ca2f0692.zip |
xfs: convert m_dirblkfsbs to xfs_da_geometry
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index 1ff0da6e2bf9..96175df211b1 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c @@ -1098,10 +1098,11 @@ xfs_bmap_add_attrfork_local( if (S_ISDIR(ip->i_d.di_mode)) { memset(&dargs, 0, sizeof(dargs)); + dargs.geo = ip->i_mount->m_dir_geo; dargs.dp = ip; dargs.firstblock = firstblock; dargs.flist = flist; - dargs.total = ip->i_mount->m_dirblkfsbs; + dargs.total = dargs.geo->fsbcount; dargs.whichfork = XFS_DATA_FORK; dargs.trans = tp; return xfs_dir2_sf_to_block(&dargs); |