X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=fs%2Ftimerfd.c;h=053818dd6c18be8f228e1c40483e50d78aa78007;hb=e096ade68c13011ba6548a542c1fc00e14555f5c;hp=b94fa6c3c6ebe8c7308aea0052f3afacad9745c4;hpb=bac22980b008ed810c56054d7f8bd73c02326b3f;p=karo-tx-linux.git diff --git a/fs/timerfd.c b/fs/timerfd.c index b94fa6c3c6eb..053818dd6c18 100644 --- a/fs/timerfd.c +++ b/fs/timerfd.c @@ -153,7 +153,7 @@ static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) if (isalarm(ctx)) remaining = alarm_expires_remaining(&ctx->t.alarm); else - remaining = hrtimer_expires_remaining(&ctx->t.tmr); + remaining = hrtimer_expires_remaining_adjusted(&ctx->t.tmr); return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; }