mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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>
This commit is contained in:
parent
67972c2b89
commit
b5da276ae6
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user