summaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorYongpeng Yang <yangyongpeng@xiaomi.com>2025-10-24 22:37:46 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2025-12-04 02:00:03 +0000
commitd8bdf7856e17b31263bcd37d60903ee36bd2f857 (patch)
tree4bcc2242d9202c5162dca556372a2c1a20a3eeca /rust/helpers/mutex.c
parent392711ef18bff524a873b9c239a73148c5432262 (diff)
f2fs: ensure minimum trim granularity accounts for all devices
When F2FS uses multiple block devices, each device may have a different discard granularity. The minimum trim granularity must be at least the maximum discard granularity of all devices, excluding zoned devices. Use max_t instead of the max() macro to compute the maximum value. Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions