xfs: remove block number from inode lookup code
The block number comes from bulkstat based inode lookups to shortcut the mapping calculations. We ar enot able to trust anything from bulkstat, so drop the block number as well so that the correct lookups and mappings are always done. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Dave Chinner
parent
1920779e67
commit
7b6259e7a8
@@ -1269,7 +1269,7 @@ xfs_lookup(
|
||||
if (error)
|
||||
goto out;
|
||||
|
||||
error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp, 0);
|
||||
error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp);
|
||||
if (error)
|
||||
goto out_free_name;
|
||||
|
||||
|
Reference in New Issue
Block a user