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
@@ -27,7 +27,6 @@ typedef int (*bulkstat_one_pf)(struct xfs_mount *mp,
|
||||
xfs_ino_t ino,
|
||||
void __user *buffer,
|
||||
int ubsize,
|
||||
xfs_daddr_t bno,
|
||||
int *ubused,
|
||||
int *stat);
|
||||
|
||||
@@ -71,7 +70,6 @@ xfs_bulkstat_one_int(
|
||||
void __user *buffer,
|
||||
int ubsize,
|
||||
bulkstat_one_fmt_pf formatter,
|
||||
xfs_daddr_t bno,
|
||||
int *ubused,
|
||||
int *stat);
|
||||
|
||||
@@ -81,7 +79,6 @@ xfs_bulkstat_one(
|
||||
xfs_ino_t ino,
|
||||
void __user *buffer,
|
||||
int ubsize,
|
||||
xfs_daddr_t bno,
|
||||
int *ubused,
|
||||
int *stat);
|
||||
|
||||
|
Reference in New Issue
Block a user