summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:05:35 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-06 12:36:16 -0800
commit5edffbbf1d1dca8a62401a106df8eef2d3970a3b (patch)
tree1d401d18fbbabc91333ec81ec3b4b8ffde96c481 /usr
parentb59f39f0cd8bdaa4e3e8e3b38e9c36f3bed47abc (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 <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions