X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=fs%2Ftimerfd.c;h=053818dd6c18be8f228e1c40483e50d78aa78007;hb=a29fe6f3c9c25c0cf3d190e0c0667da3ef4ca611;hp=b94fa6c3c6ebe8c7308aea0052f3afacad9745c4;hpb=84dccbee2fb9cce9d58665aa461f905835e75038;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; }