Skip to content

Commit b5da276

Browse files
chaseyuJaegeuk Kim
authored andcommitted
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>
1 parent 67972c2 commit b5da276

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fs/f2fs/f2fs.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4988,8 +4988,7 @@ static inline void f2fs_io_schedule_timeout_killable(long timeout)
49884988
while (timeout) {
49894989
if (fatal_signal_pending(current))
49904990
return;
4991-
set_current_state(TASK_UNINTERRUPTIBLE);
4992-
io_schedule_timeout(DEFAULT_SCHEDULE_TIMEOUT);
4991+
__f2fs_schedule_timeout(DEFAULT_SCHEDULE_TIMEOUT, true);
49934992
if (timeout <= DEFAULT_SCHEDULE_TIMEOUT)
49944993
return;
49954994
timeout -= DEFAULT_SCHEDULE_TIMEOUT;

0 commit comments

Comments
 (0)