diff options
Diffstat (limited to 'fs/xfs/xfs_ialloc.c')
-rw-r--r-- | fs/xfs/xfs_ialloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c index 16eda31fe797..0ce56d6a4922 100644 --- a/fs/xfs/xfs_ialloc.c +++ b/fs/xfs/xfs_ialloc.c | |||
@@ -1262,8 +1262,7 @@ xfs_dilocate( | |||
1262 | #endif /* DEBUG */ | 1262 | #endif /* DEBUG */ |
1263 | return XFS_ERROR(EINVAL); | 1263 | return XFS_ERROR(EINVAL); |
1264 | } | 1264 | } |
1265 | if ((mp->m_sb.sb_blocksize >= XFS_INODE_CLUSTER_SIZE(mp)) || | 1265 | if ((mp->m_sb.sb_blocksize >= XFS_INODE_CLUSTER_SIZE(mp))) { |
1266 | !(flags & XFS_IMAP_LOOKUP)) { | ||
1267 | offset = XFS_INO_TO_OFFSET(mp, ino); | 1266 | offset = XFS_INO_TO_OFFSET(mp, ino); |
1268 | ASSERT(offset < mp->m_sb.sb_inopblock); | 1267 | ASSERT(offset < mp->m_sb.sb_inopblock); |
1269 | *bno = XFS_AGB_TO_FSB(mp, agno, agbno); | 1268 | *bno = XFS_AGB_TO_FSB(mp, agno, agbno); |