diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2017-01-28 10:16:38 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-31 03:32:24 +0300 |
commit | af7d20fd83d9e2b3111a847e4220bf943e2d531c (patch) | |
tree | 2ba9e759f4b5d236de8227b5761c20fcff4c2496 /fs/iomap.c | |
parent | f88ae46b09e93ef07ac9efaf85df62adb5ba58e6 (diff) | |
download | linux-af7d20fd83d9e2b3111a847e4220bf943e2d531c.tar.xz |
xfs: make xfs_btree_magic more generic
Right now the xfs_btree_magic() define takes only a cursor;
change this to take crc and btnum args to make it more generically
useful, and move to a function.
This will allow xfs_btree_init_block_int callers which don't
have a cursor to make use of the xfs_magics array, which will
happen in the next patch.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions