diff options
| author | Takashi Iwai <[email protected]> | 2016-02-02 13:14:10 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2016-02-02 23:15:42 +0000 |
| commit | f146357f069e71aff8e474c625bcebcd3094b3ab (patch) | |
| tree | d0240d85093b4f77e0b76b3c25396dd01bddb2e2 /fs/btrfs/dev-replace.c | |
| parent | ALSA: timer: Fix link corruption due to double start or stop (diff) | |
| download | kernel-f146357f069e71aff8e474c625bcebcd3094b3ab.tar.gz kernel-f146357f069e71aff8e474c625bcebcd3094b3ab.zip | |
ALSA: timer: Sync timer deletion at closing the system timer
ALSA timer core framework has no sync point at stopping because it's
called inside the spinlock. Thus we need a sync point at close for
avoiding the stray timer task. This is simply done by implementing
the close callback just calling del_timer_sync(). (It's harmless to
call it unconditionally, as the core timer itself cares of the already
deleted timer instance.)
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
