aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_itable.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-06-23 21:35:17 -0400
committerDave Chinner <david@fromorbit.com>2010-06-23 21:35:17 -0400
commit7b6259e7a83647948fa33a736cc832310c8d85aa (patch)
tree99bb872b179a93f5e32b51f312029abb1237b055 /fs/xfs/xfs_itable.h
parent1920779e67cbf5ea8afef317777c5bf2b8096188 (diff)
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>
Diffstat (limited to 'fs/xfs/xfs_itable.h')
-rw-r--r--fs/xfs/xfs_itable.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_itable.h b/fs/xfs/xfs_itable.h
index fea03397a3ab..97295d91d170 100644
--- a/fs/xfs/xfs_itable.h
+++ b/fs/xfs/xfs_itable.h
@@ -27,7 +27,6 @@ typedef int (*bulkstat_one_pf)(struct xfs_mount *mp,
27 xfs_ino_t ino, 27 xfs_ino_t ino,
28 void __user *buffer, 28 void __user *buffer,
29 int ubsize, 29 int ubsize,
30 xfs_daddr_t bno,
31 int *ubused, 30 int *ubused,
32 int *stat); 31 int *stat);
33 32
@@ -71,7 +70,6 @@ xfs_bulkstat_one_int(
71 void __user *buffer, 70 void __user *buffer,
72 int ubsize, 71 int ubsize,
73 bulkstat_one_fmt_pf formatter, 72 bulkstat_one_fmt_pf formatter,
74 xfs_daddr_t bno,
75 int *ubused, 73 int *ubused,
76 int *stat); 74 int *stat);
77 75
@@ -81,7 +79,6 @@ xfs_bulkstat_one(
81 xfs_ino_t ino, 79 xfs_ino_t ino,
82 void __user *buffer, 80 void __user *buffer,
83 int ubsize, 81 int ubsize,
84 xfs_daddr_t bno,
85 int *ubused, 82 int *ubused,
86 int *stat); 83 int *stat);
87 84