xfs: use xfs_da_geometry for block size in attr code
authorDave Chinner <dchinner@redhat.com>
Fri, 6 Jun 2014 05:21:10 +0000 (15:21 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 6 Jun 2014 05:21:10 +0000 (15:21 +1000)
commit33a6039007af112509f48910e62640dadd064322
treecb0b687f696d4959fb2372702bca94f13b4a5864
parentbc85178a7668db835666c6a5bd53436eebfc94b1
xfs: use xfs_da_geometry for block size in attr code

Rather than using the superblock value obtained through the
xfs_mount.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr_leaf.c
fs/xfs/xfs_log_rlimit.c