diff options
| author | Theodore Ts'o <[email protected]> | 2020-03-28 23:33:43 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-04-01 21:29:06 +0000 |
| commit | 54d3adbc29f0c7c53890da1683e629cd220d7201 (patch) | |
| tree | 485a4098e4523ed56c97b308c324f8cf91e5a51f /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | ext4: fix incorrect group count in ext4_fill_super error message (diff) | |
| download | kernel-54d3adbc29f0c7c53890da1683e629cd220d7201.tar.gz kernel-54d3adbc29f0c7c53890da1683e629cd220d7201.zip | |
ext4: save all error info in save_error_info() and drop ext4_set_errno()
Using a separate function, ext4_set_errno() to set the errno is
problematic because it doesn't do the right thing once
s_last_error_errorcode is non-zero. It's also less racy to set all of
the error information all at once. (Also, as a bonus, it shrinks code
size slightly.)
Link: https://lore.kernel.org/r/[email protected]
Fixes: 878520ac45f9 ("ext4: save the error code which triggered...")
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
