diff options
author | Christoph Hellwig <hch@lst.de> | 2008-11-27 22:23:41 -0500 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-11-30 19:38:13 -0500 |
commit | b48d8d64377f39913663a06f4757f3b8c6fc6d87 (patch) | |
tree | fc85231bfa3bd58a3f3aa4dbd564b590e3ac0a8a /fs/xfs/xfs_inode.c | |
parent | 92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1 (diff) |
[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_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 72dc7a87a14b..4290760473ff 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -136,7 +136,7 @@ xfs_imap_to_bp( | |||
136 | struct xfs_imap *imap, | 136 | struct xfs_imap *imap, |
137 | xfs_buf_t **bpp, | 137 | xfs_buf_t **bpp, |
138 | uint buf_flags, | 138 | uint buf_flags, |
139 | uint imap_flags) | 139 | uint iget_flags) |
140 | { | 140 | { |
141 | int error; | 141 | int error; |
142 | int i; | 142 | int i; |
@@ -178,7 +178,7 @@ xfs_imap_to_bp( | |||
178 | if (unlikely(XFS_TEST_ERROR(!di_ok, mp, | 178 | if (unlikely(XFS_TEST_ERROR(!di_ok, mp, |
179 | XFS_ERRTAG_ITOBP_INOTOBP, | 179 | XFS_ERRTAG_ITOBP_INOTOBP, |
180 | XFS_RANDOM_ITOBP_INOTOBP))) { | 180 | XFS_RANDOM_ITOBP_INOTOBP))) { |
181 | if (imap_flags & XFS_IMAP_BULKSTAT) { | 181 | if (iget_flags & XFS_IGET_BULKSTAT) { |
182 | xfs_trans_brelse(tp, bp); | 182 | xfs_trans_brelse(tp, bp); |
183 | return XFS_ERROR(EINVAL); | 183 | return XFS_ERROR(EINVAL); |
184 | } | 184 | } |