aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-04-13 12:17:37 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-05-04 09:19:23 +0200
commitfd22aef8b47cfc068448df65c1183698b0abd815 (patch)
treebb0059af80d5aedb2c4b124eb3e1b23f1e40ffea /kernel/locking/rtmutex-debug.c
parent8b679ec5257eeb3d73b71a613cad2769f21c86ad (diff)
downloadlinux-fd22aef8b47cfc068448df65c1183698b0abd815.tar.gz
linux-fd22aef8b47cfc068448df65c1183698b0abd815.tar.bz2
linux-fd22aef8b47cfc068448df65c1183698b0abd815.zip
rbd: move rbd_unregister_watch() call into rbd_dev_image_release()
rbd_dev->disk tear down vs rbd_watch_cb() race shouldn't be a problem anymore thanks to EXISTS and REMOVING checks in rbd_dev_update_size(). A similar race could occur on "rbd map", see commit 811c66887746 ("rbd: fix rbd map vs notify races"). Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions