diff options
author | Richard Yao <[email protected]> | 2015-09-29 18:28:47 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-09-30 10:43:19 -0700 |
commit | bc8ffb2d0855b76dd0f8f0993cadf8ef0dfe0f0a (patch) | |
tree | 1b8dd33a69127b08d0d3d4cd172cf7142cab6523 /module | |
parent | 57732964d35616d6c93b8377b1ed72c485d9d73d (diff) |
Remove obsolete zv_lock
All users of zv_lock were removed by 37f9dac, but we forgot to remove
it. Lets remove it as clean up.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #3858
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/zvol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index c81f02a39..cdaa838d2 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -74,7 +74,6 @@ typedef struct zvol_state { dev_t zv_dev; /* device id */ struct gendisk *zv_disk; /* generic disk */ struct request_queue *zv_queue; /* request queue */ - spinlock_t zv_lock; /* request queue lock */ list_node_t zv_next; /* next zvol_state_t linkage */ } zvol_state_t; @@ -1205,7 +1204,6 @@ zvol_alloc(dev_t dev, const char *name) zv = kmem_zalloc(sizeof (zvol_state_t), KM_SLEEP); - spin_lock_init(&zv->zv_lock); list_link_init(&zv->zv_next); zv->zv_queue = blk_alloc_queue(GFP_ATOMIC); |