From b5da276ae6abe95767c3e1eb72f39e0ef8df7d22 Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Sun, 4 Jan 2026 10:07:24 +0800 Subject: [PATCH] f2fs: clean up w/ __f2fs_schedule_timeout() No logic changes. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index dc9f834bbe0d..1d7ad3b860e0 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -4988,8 +4988,7 @@ static inline void f2fs_io_schedule_timeout_killable(long timeout) while (timeout) { if (fatal_signal_pending(current)) return; - set_current_state(TASK_UNINTERRUPTIBLE); - io_schedule_timeout(DEFAULT_SCHEDULE_TIMEOUT); + __f2fs_schedule_timeout(DEFAULT_SCHEDULE_TIMEOUT, true); if (timeout <= DEFAULT_SCHEDULE_TIMEOUT) return; timeout -= DEFAULT_SCHEDULE_TIMEOUT; -- 2.47.3