aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2022-11-06 17:03:16 -0800
committerDarrick J. Wong <[email protected]>2022-11-16 15:25:02 -0800
commita7a0f9a5503f4da3b6489583ce4ef9abc0ab2475 (patch)
tree3324e03de8c7dc245fcf3eeb5552c229ad110ea3 /lib/mpi/mpi-mod.c
parent306195f355bbdcc3eff6cffac05bcd93a5e419ed (diff)
xfs: return EINTR when a fatal signal terminates scrub
If the program calling online fsck is terminated with a fatal signal, bail out to userspace by returning EINTR, not EAGAIN. EAGAIN is used by scrubbers to indicate that we should try again with more resources locked, and not to indicate that the operation was cancelled. The miswiring is mostly harmless, but it shows up in the trace data. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions