diff options
author | Zhiguo Niu <[email protected]> | 2024-06-03 19:35:26 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2024-06-12 15:46:03 +0000 |
commit | 270b09313b4e16cdfd01d8371023a1661dd1112e (patch) | |
tree | 3dbb9ab232bdfef0cbe8f2d0c6444129f2f6a1b9 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 192b8fb8d1c8ca3c87366ebbef599fa80bb626b8 (diff) |
f2fs: use new ioprio Macro to get ckpt thread ioprio level
IOPRIO_PRIO_DATA in the new kernel version includes level and hint,
So Macro IOPRIO_PRIO_LEVEL is more accurate to get ckpt thread
ioprio data/level, and it is also consisten with the way setting
ckpt thread ioprio by IOPRIO_PRIO_VALUE(class, data/level).
Besides, change variable name from "data" to "level" for more readable.
Signed-off-by: Zhiguo Niu <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions