mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
treewide, timers: Rename from_timer() to timer_container_of()
Move this API to the canonical timer_*() namespace. [ tglx: Redone against pre rc1 ] Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/aB2X0jCKQO56WdMt@gmail.com
This commit is contained in:
committed by
Thomas Gleixner
parent
8630c59e99
commit
41cb08555c
@@ -3591,7 +3591,8 @@ int drbd_md_test_flag(struct drbd_backing_dev *bdev, int flag)
|
||||
|
||||
static void md_sync_timer_fn(struct timer_list *t)
|
||||
{
|
||||
struct drbd_device *device = from_timer(device, t, md_sync_timer);
|
||||
struct drbd_device *device = timer_container_of(device, t,
|
||||
md_sync_timer);
|
||||
drbd_device_post_work(device, MD_SYNC);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user