summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2026-01-04 05:07:24 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2026-01-07 06:17:07 +0300
commitb5da276ae6abe95767c3e1eb72f39e0ef8df7d22 (patch)
tree8a8a8badb34ab181a2224ef0ce206662c6b8a2ea
parent67972c2b89749356bc9823bd58f7f14b28e681e4 (diff)
downloadlinux-b5da276ae6abe95767c3e1eb72f39e0ef8df7d22.tar.xz
f2fs: clean up w/ __f2fs_schedule_timeout()
No logic changes. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/f2fs.h3
1 files changed, 1 insertions, 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;