[lustre-devel] [PATCH 03/10] lustre: libcfs: make lnet_debugfs_symlink_def fields const

James Simmons jsimmons at infradead.org
Mon Jul 2 16:24:47 PDT 2018


Change the fields in struct lnet_debubfs_symlink_def to
const char *.

Signed-off-by: James Simmons <uja.ornl at yahoo.com>
WC-bug-id: https://jira.whamcloud.com/browse/LU-8066
Reviewed-on: https://review.whamcloud.com/24688
Reviewed-by: Dmitry Eremin <dmitry.eremin at intel.com>
Reviewed-by: Olaf Weber <olaf.weber at hpe.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
 drivers/staging/lustre/lnet/libcfs/module.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lnet/libcfs/module.c b/drivers/staging/lustre/lnet/libcfs/module.c
index 522650b..f25270a 100644
--- a/drivers/staging/lustre/lnet/libcfs/module.c
+++ b/drivers/staging/lustre/lnet/libcfs/module.c
@@ -60,8 +60,8 @@
 #include "tracefile.h"
 
 struct lnet_debugfs_symlink_def {
-	char *name;
-	char *target;
+	const char *name;
+	const char *target;
 };
 
 static struct dentry *lnet_debugfs_root;
-- 
1.8.3.1



More information about the lustre-devel mailing list