diff options
author | Brian Behlendorf <[email protected]> | 2009-11-20 09:59:58 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-11-20 09:59:58 -0800 |
commit | 3191b962f6d7a540c09bb0856c7797331616b7fe (patch) | |
tree | 3298201af8f2ebdc410b0a7a2044ce149f1cba05 /module/zfs | |
parent | 217998d1a3b29e111b3b2af3f8c8d94d1c49fe10 (diff) |
Prevent gcc uninit compiler warning in zfs_range_unlock_reader().
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/zfs_rlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_rlock.c b/module/zfs/zfs_rlock.c index 4de8d8a2d..1e4988d7f 100644 --- a/module/zfs/zfs_rlock.c +++ b/module/zfs/zfs_rlock.c @@ -460,7 +460,7 @@ static void zfs_range_unlock_reader(znode_t *zp, rl_t *remove) { avl_tree_t *tree = &zp->z_range_avl; - rl_t *rl, *next; + rl_t *rl, *next = NULL; uint64_t len; /* |