[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>
This commit is contained in:

committed by
Niv Sardi

parent
92bfc6e7c4
commit
b48d8d6437
@@ -136,7 +136,7 @@ xfs_imap_to_bp(
|
||||
struct xfs_imap *imap,
|
||||
xfs_buf_t **bpp,
|
||||
uint buf_flags,
|
||||
uint imap_flags)
|
||||
uint iget_flags)
|
||||
{
|
||||
int error;
|
||||
int i;
|
||||
@@ -178,7 +178,7 @@ xfs_imap_to_bp(
|
||||
if (unlikely(XFS_TEST_ERROR(!di_ok, mp,
|
||||
XFS_ERRTAG_ITOBP_INOTOBP,
|
||||
XFS_RANDOM_ITOBP_INOTOBP))) {
|
||||
if (imap_flags & XFS_IMAP_BULKSTAT) {
|
||||
if (iget_flags & XFS_IGET_BULKSTAT) {
|
||||
xfs_trans_brelse(tp, bp);
|
||||
return XFS_ERROR(EINVAL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user