Tim Shimmin
6d1337b29b
[XFS] xfs_bmap_compute_maxlevels should be based on di_forkoff
...
Fix up xfs_bmap_compute_maxlevels() to account for the case when we go
from using attr2 to using attr1. In that case attr1 will no longer
necessarily be at m_attr_offset>>3, but could be at a different value for
di_forkoff. Therefore, we return the worst case scenario using MINDBTPTRS
and MINABTPTRS, as this function is used for determining the maximum log
space.
SGI-PV: 979606
SGI-Modid: xfs-linux-melb:xfs-kern:30862a
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-04-18 12:04:08 +10:00
..
2008-04-18 12:03:12 +10:00
2008-04-18 12:00:35 +10:00
2008-04-18 11:40:04 +10:00
2008-02-18 13:06:17 +11:00
2008-04-18 11:57:57 +10:00
2008-02-07 18:22:38 +11:00
2008-02-07 16:46:39 +11:00
2008-02-13 16:21:19 -08:00
2008-04-18 12:03:02 +10:00
2008-02-13 16:21:19 -08:00
2008-04-18 12:03:40 +10:00
2008-02-07 18:14:38 +11:00
2007-10-16 11:40:24 +10:00
2008-02-26 17:05:44 +11:00
2008-02-26 17:05:44 +11:00
2008-04-18 11:51:26 +10:00
2008-04-10 16:24:45 +10:00
2008-04-18 12:04:08 +10:00
2008-04-18 11:51:26 +10:00
2008-02-07 18:14:38 +11:00
2008-04-18 12:00:35 +10:00
2008-02-07 18:14:38 +11:00
2008-02-28 20:37:56 -08:00
2008-02-13 16:21:19 -08:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:22:24 +11:00
2008-02-07 18:19:24 +11:00
2008-02-13 16:21:19 -08:00
2008-02-13 16:21:19 -08:00
2008-02-13 16:21:19 -08:00
2008-02-13 16:21:19 -08:00
2007-12-18 17:16:23 +11:00
2008-04-18 12:00:12 +10:00
2008-04-18 12:00:12 +10:00
2007-10-16 11:45:57 +10:00
2007-10-19 17:14:45 +10:00
2008-02-07 18:13:05 +11:00
2008-02-07 18:13:05 +11:00
2008-02-07 16:44:23 +11:00
2008-04-18 11:51:26 +10:00
2008-02-07 18:13:17 +11:00
2008-04-10 16:24:45 +10:00
2008-02-13 16:21:19 -08:00
2008-02-07 18:12:41 +11:00
2008-04-18 11:42:09 +10:00
2008-04-18 11:37:41 +10:00
2008-04-18 12:00:35 +10:00
2008-04-18 11:37:51 +10:00
2008-04-18 12:03:26 +10:00
2008-04-18 11:37:41 +10:00
2008-04-18 11:59:45 +10:00
2008-02-07 16:44:14 +11:00
2008-04-18 12:01:27 +10:00
2008-04-18 11:50:53 +10:00
2008-04-18 12:02:10 +10:00
2008-04-18 12:02:30 +10:00
2008-04-18 12:02:20 +10:00
2008-04-18 12:00:24 +10:00
2008-04-18 12:00:12 +10:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:47:15 +11:00
2007-10-16 11:43:26 +10:00
2008-04-18 12:00:12 +10:00
2008-04-18 11:58:17 +10:00
2008-02-07 18:16:43 +11:00
2008-04-18 12:02:20 +10:00
2008-02-07 18:16:43 +11:00
2008-04-10 16:25:26 +10:00
2008-04-18 11:51:26 +10:00
2008-04-18 12:00:24 +10:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:22:51 +11:00
2008-02-13 16:21:19 -08:00
2008-04-18 11:41:57 +10:00
2008-04-18 12:00:12 +10:00
2008-04-18 12:00:12 +10:00
2008-04-18 12:00:12 +10:00
2008-04-18 12:03:12 +10:00
2008-02-07 18:24:00 +11:00
2008-04-18 12:01:58 +10:00
2008-04-18 12:00:12 +10:00
2008-02-07 16:42:19 +11:00