mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Fix coverity defects: CID 147548
CID 147548: Type:Dereference null return value Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn> Closes #5321
This commit is contained in:
@@ -917,6 +917,7 @@ typedef struct ddt_histogram {
|
||||
#define ZVOL_DRIVER "zvol"
|
||||
#define ZFS_DRIVER "zfs"
|
||||
#define ZFS_DEV "/dev/zfs"
|
||||
#define ZFS_SHARETAB "/etc/dfs/sharetab"
|
||||
|
||||
/* general zvol path */
|
||||
#define ZVOL_DIR "/dev"
|
||||
|
||||
Reference in New Issue
Block a user