aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorcao <[email protected]>2016-11-01 07:56:10 +0800
committerBrian Behlendorf <[email protected]>2016-10-31 16:56:10 -0700
commit2bac68145f94012d6e41dffb9f4a7faf80a8e107 (patch)
treeac5d389e14e19d98de0821f2054ddb3115b719c0 /include
parentb182ac00aa60d1b61d92d70ea399cd39f966fb31 (diff)
Fix coverity defects: CID 147548
CID 147548: Type:Dereference null return value Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: cao.xuewen <[email protected]> Closes #5321
Diffstat (limited to 'include')
-rw-r--r--include/sys/fs/zfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index d1d0a275d..2a630ec53 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -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"