]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
f2fs: clean up w/ __f2fs_schedule_timeout()
authorChao Yu <chao@kernel.org>
Sun, 4 Jan 2026 02:07:24 +0000 (10:07 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 7 Jan 2026 03:17:07 +0000 (03:17 +0000)
No logic changes.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h

index dc9f834bbe0d738d4ee6d78c17d2f0cc88eb8010..1d7ad3b860e02a28151a39df61ef805ea713d0eb 100644 (file)
@@ -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;