diff options
| author | 2017-06-20 17:54:47 -0700 | |
|---|---|---|
| committer | 2017-06-27 18:23:20 -0700 | |
| commit | 9e24cfd044853e0e46e7149b91b7bb09effb0a79 (patch) | |
| tree | 39cf546a285aff327afd07fc3a2ea843cfdfaad8 /fs/xfs/libxfs/xfs_inode_buf.c | |
| parent | xfs: expose errortag knobs via sysfs (diff) | |
| download | linux-dev-9e24cfd044853e0e46e7149b91b7bb09effb0a79.tar.xz linux-dev-9e24cfd044853e0e46e7149b91b7bb09effb0a79.zip | |
xfs: remove unneeded parameter from XFS_TEST_ERROR
Since we moved the injected error frequency controls to the mountpoint,
we can get rid of the last argument to XFS_TEST_ERROR.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_buf.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_inode_buf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_buf.c b/fs/xfs/libxfs/xfs_inode_buf.c index 0c970cf7ab63..378f8fbc91a7 100644 --- a/fs/xfs/libxfs/xfs_inode_buf.c +++ b/fs/xfs/libxfs/xfs_inode_buf.c @@ -105,8 +105,7 @@ xfs_inode_buf_verify( di_ok = dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && xfs_dinode_good_version(mp, dip->di_version); if (unlikely(XFS_TEST_ERROR(!di_ok, mp, - XFS_ERRTAG_ITOBP_INOTOBP, - XFS_RANDOM_ITOBP_INOTOBP))) { + XFS_ERRTAG_ITOBP_INOTOBP))) { if (readahead) { bp->b_flags &= ~XBF_DONE; xfs_buf_ioerror(bp, -EIO); |
