]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zvol.c
zv_suspend_lock in zvol_open()/zvol_release()
authorBoris Protopopov <bprotopopov@users.noreply.github.com>
Wed, 9 Aug 2017 18:10:47 +0000 (14:10 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Aug 2017 18:10:47 +0000 (11:10 -0700)
commit5146d802b4e371cab1d6db79bea482c056be7bf2
tree028280638f8fa27f3708553dba5d06e43a747c7e
parent520faf5ddcb1a9536f53438963d1c96678040466
zv_suspend_lock in zvol_open()/zvol_release()

Acquire zv_suspend_lock on first open and last close only.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Boris Protopopov <boris.protopopov@actifio.com>
Closes #6342
module/zfs/zvol.c