diff options
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c index eba5ae61d362..b1ecc6f97ade 100644 --- a/fs/xfs/xfs_iget.c +++ b/fs/xfs/xfs_iget.c | |||
@@ -261,7 +261,6 @@ xfs_iget_cache_miss( | |||
261 | { | 261 | { |
262 | struct xfs_inode *ip; | 262 | struct xfs_inode *ip; |
263 | int error; | 263 | int error; |
264 | unsigned long first_index, mask; | ||
265 | xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); | 264 | xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); |
266 | 265 | ||
267 | ip = xfs_inode_alloc(mp, ino); | 266 | ip = xfs_inode_alloc(mp, ino); |
@@ -298,8 +297,6 @@ xfs_iget_cache_miss( | |||
298 | BUG(); | 297 | BUG(); |
299 | } | 298 | } |
300 | 299 | ||
301 | mask = ~(((XFS_INODE_CLUSTER_SIZE(mp) >> mp->m_sb.sb_inodelog)) - 1); | ||
302 | first_index = agino & mask; | ||
303 | write_lock(&pag->pag_ici_lock); | 300 | write_lock(&pag->pag_ici_lock); |
304 | 301 | ||
305 | /* insert the new inode */ | 302 | /* insert the new inode */ |