diff options
| author | Brian Foster <[email protected]> | 2020-05-06 13:25:20 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-05-07 08:27:46 -0700 |
| commit | 15fab3b9be2255be70ba1c598a11622fa03c9d5e (patch) | |
| tree | f7c247a642e8e368ddb2082a6a7f8637f00d926e /tools/perf/scripts/python | |
| parent | f20192991d791293ccb7f6a073bb28de572f799a (diff) | |
xfs: remove unnecessary shutdown check from xfs_iflush()
The shutdown check in xfs_iflush() duplicates checks down in the
buffer code. If the fs is shut down, xfs_trans_read_buf_map() always
returns an error and falls into the same error path. Remove the
unnecessary check along with the warning in xfs_imap_to_bp()
that generates excessive noise in the log if the fs is shut down.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Allison Collins <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions