summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2008-04-17 16:50:16 +1000
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-18 12:04:08 +1000
commit6d1337b29bf09a97682d39db36ac2d0dfc6659c0 (patch)
treeead8e985e731f984b9ba1f31568518206ad2592a /kernel/cpu.c
parentcb49dbb130e17a6f9af4cb4714cf6976cf09afdf (diff)
downloadop-kernel-dev-6d1337b29bf09a97682d39db36ac2d0dfc6659c0.zip
op-kernel-dev-6d1337b29bf09a97682d39db36ac2d0dfc6659c0.tar.gz
[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>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud