Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-8386 zfs: Use ZFS_MAXPROPLEN instead of ZFS_MAXNAMELEN
[fs/lustre-release.git]
/
lustre
/
utils
/
mount_utils_zfs.c
diff --git
a/lustre/utils/mount_utils_zfs.c
b/lustre/utils/mount_utils_zfs.c
index
60d5552
..
592f18d
100644
(file)
--- a/
lustre/utils/mount_utils_zfs.c
+++ b/
lustre/utils/mount_utils_zfs.c
@@
-142,7
+142,7
@@
static int zfs_set_prop_params(zfs_handle_t *zhp, char *params)
{
char *params_dup, *token, *key, *value;
char *save_token = NULL;
- char prop_name[ZFS_MAX
NAME
LEN];
+ char prop_name[ZFS_MAX
PROP
LEN];
int ret = 0;
params_dup = strdup(params);
@@
-320,7
+320,7
@@
static int zfs_get_prop_params(zfs_handle_t *zhp, char *param, int len)
{
nvlist_t *props;
nvpair_t *nvp;
- char key[ZFS_MAX
NAME
LEN];
+ char key[ZFS_MAX
PROP
LEN];
char *value;
int ret = 0;