OSDN Git Service

xfs: remove mp->m_dir_geo from directory logging
authorDave Chinner <dchinner@redhat.com>
Fri, 6 Jun 2014 05:20:54 +0000 (15:20 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 6 Jun 2014 05:20:54 +0000 (15:20 +1000)
commitbc85178a7668db835666c6a5bd53436eebfc94b1
treea66a6163b3d24a5cb2d31c33593abddf5563f27f
parent53f82db003900822ff828b792b1690a53a57c028
xfs: remove mp->m_dir_geo from directory logging

We don't pass the xfs_da_args or the geometry all the way down to
the directory buffer logging code, hence we have to use
mp->m_dir_geo here. Fix this to use the geometry passed via the
xfs_da_args, and convert all the directory logging functions for
consistency.

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_dir2.h
fs/xfs/xfs_dir2_block.c
fs/xfs/xfs_dir2_data.c
fs/xfs/xfs_dir2_leaf.c
fs/xfs/xfs_dir2_node.c
fs/xfs/xfs_dir2_priv.h