diff options
author | Eric Sandeen <[email protected]> | 2018-11-30 07:55:57 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2018-12-04 08:50:49 -0800 |
commit | 7d048df4e9b05ba89b74d062df59498aa81f3785 (patch) | |
tree | ccb920f416ab6aee2e4962c0b4e9d03b10276f91 /tools/perf/util/trace-event-scripting.c | |
parent | a579121f94aba4e8bad1a121a0fad050d6925296 (diff) |
xfs: fix inverted return from xfs_btree_sblock_verify_crc
xfs_btree_sblock_verify_crc is a bool so should not be returning
a failaddr_t; worse, if xfs_log_check_lsn fails it returns
__this_address which looks like a boolean true (i.e. success)
to the caller.
(interestingly xfs_btree_lblock_verify_crc doesn't have the issue)
Signed-off-by: Eric Sandeen <[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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions