summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iget.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-11-28 14:23:41 +1100
committerNiv Sardi <xaiki@sgi.com>2008-12-01 11:38:13 +1100
commitb48d8d64377f39913663a06f4757f3b8c6fc6d87 (patch)
treefc85231bfa3bd58a3f3aa4dbd564b590e3ac0a8a /fs/xfs/xfs_iget.c
parent92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1 (diff)
downloadblackbird-op-linux-b48d8d64377f39913663a06f4757f3b8c6fc6d87.tar.gz
blackbird-op-linux-b48d8d64377f39913663a06f4757f3b8c6fc6d87.zip
[XFS] kill the XFS_IMAP_BULKSTAT flag
Just pass down the XFS_IGET_* flags all the way down to xfs_imap instead of translating them mid-way. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index bf4dc5eb4cfc..d60522a73a17 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -159,8 +159,7 @@ xfs_iget_cache_miss(
* Read the disk inode attributes into a new inode structure and get
* a new vnode for it. This should also initialize i_ino and i_mount.
*/
- error = xfs_iread(mp, tp, ino, &ip, bno,
- (flags & XFS_IGET_BULKSTAT) ? XFS_IMAP_BULKSTAT : 0);
+ error = xfs_iread(mp, tp, ino, &ip, bno, flags);
if (error)
return error;
OpenPOWER on IntegriCloud