diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-08-22 16:59:48 -0700 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-08-26 09:52:13 +0530 |
commit | 410e8a18f8e9311c6bf29ae47f32ad46f0219569 (patch) | |
tree | 8f364debc907e8e2f95b430be3b50bb7507a0b39 /lib/crypto/mpi/mpiutil.c | |
parent | 95179935beadccaf0f0bb461adb778731e293da4 (diff) |
xfs: don't bother reporting blocks trimmed via FITRIM
Don't bother reporting the number of bytes that we "trimmed" because the
underlying storage isn't required to do anything(!) and failed discard
IOs aren't reported to the caller anyway. It's not like userspace can
use the reported value for anything useful like adjusting the offset
parameter of the next call, and it's not like anyone ever wrote a
manpage about FITRIM's out parameters.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions