diff options
| author | Yongpeng Yang <yangyongpeng@xiaomi.com> | 2025-10-24 22:37:46 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-12-04 02:00:03 +0000 |
| commit | d8bdf7856e17b31263bcd37d60903ee36bd2f857 (patch) | |
| tree | 4bcc2242d9202c5162dca556372a2c1a20a3eeca /rust/helpers/build_assert.c | |
| parent | 392711ef18bff524a873b9c239a73148c5432262 (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/build_assert.c')
0 files changed, 0 insertions, 0 deletions
