Eric Sandeen a69c7c0772 xfs: use XFS_BMAP_BMDR_SPACE vs. XFS_BROOT_SIZE_ADJ
XFS_BROOT_SIZE_ADJ is an undocumented macro which accounts for
the difference in size between the on-disk and in-core btree
root.  It's much clearer to just use the newly-added
XFS_BMAP_BMDR_SPACE macro which gives us the on-disk size
directly.

In one case, we must test that the if_broot exists before
applying the macro, however.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-07-09 13:21:15 -05:00
..
2013-05-07 18:45:36 -05:00
2013-06-27 13:34:12 -05:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2013-04-21 14:57:43 -05:00
2013-05-23 18:04:06 -05:00
2013-05-23 18:04:06 -05:00
2013-05-07 18:45:36 -05:00
2013-05-23 18:04:06 -05:00
2012-11-19 20:11:24 -06:00
2011-07-13 13:43:48 +02:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-03-07 10:09:35 +11:00
2011-08-12 16:21:35 -05:00
2013-05-07 20:16:25 -07:00
2013-06-27 14:27:18 -05:00
2013-06-27 14:26:21 -05:00
2013-06-27 13:34:12 -05:00
2013-06-27 13:34:12 -05:00
2012-05-14 16:20:54 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2013-05-07 18:45:36 -05:00
2013-06-27 13:34:12 -05:00
2013-05-07 18:45:36 -05:00
2013-05-07 18:45:36 -05:00
2013-06-19 14:54:17 -05:00
2012-10-17 12:01:25 -05:00
2013-06-27 13:34:12 -05:00
2012-01-03 22:55:00 -05:00
2011-08-12 16:21:35 -05:00
2013-05-07 18:45:36 -05:00