Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fs/aio: Switch to use hrtimer_setup_sleeper_on_stack()

hrtimer_setup_sleeper_on_stack() replaces hrtimer_init_sleeper_on_stack()
to keep the naming convention consistent.

Convert the usage site over to it. The conversion was done with Coccinelle.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/5f10c259fa43ba2fe774de5b2cedc22f5e9cfd2d.1730386209.git.namcao@linutronix.de

authored by

Nam Cao and committed by
Thomas Gleixner
28e70352 8f02e356

+1 -1
+1 -1
fs/aio.c
··· 1335 1335 if (until == 0 || ret < 0 || ret >= min_nr) 1336 1336 return ret; 1337 1337 1338 - hrtimer_init_sleeper_on_stack(&t, CLOCK_MONOTONIC, HRTIMER_MODE_REL); 1338 + hrtimer_setup_sleeper_on_stack(&t, CLOCK_MONOTONIC, HRTIMER_MODE_REL); 1339 1339 if (until != KTIME_MAX) { 1340 1340 hrtimer_set_expires_range_ns(&t.timer, until, current->timer_slack_ns); 1341 1341 hrtimer_sleeper_start_expires(&t, HRTIMER_MODE_REL);