aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2023-10-04 09:25:04 +1100
committerDave Chinner <david@fromorbit.com>2023-10-04 09:25:04 +1100
commite78a40b851712b422d7d4ae345f25511d47a9a38 (patch)
tree9067ab25a68b877b0ff1ebd531c212343e593210 /tools/net/ynl/generated/devlink-user.c
parent89cfa899608fc28d018bdf9551a6ff508ea6207e (diff)
xfs: abort fstrim if kernel is suspending
A recent ext4 patch posting from Jan Kara reminded me of a discussion a year ago about fstrim in progress preventing kernels from suspending. The fix is simple, we should do the same for XFS. This removes the -ERESTARTSYS error return from this code, replacing it with either the last error seen or the number of blocks successfully trimmed up to the point where we detected the stop condition. References: https://bugzilla.kernel.org/show_bug.cgi?id=216322 Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions