summaryrefslogtreecommitdiffstats
path: root/include/net/9p/9p.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-01-12 04:01:17 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2017-01-12 04:01:17 -0500
commit7880b43bdfc9580700ee4568c75c383a5bcdd2ca (patch)
treebfad23571a8d05423c572d8eec2de131a2461377 /include/net/9p/9p.h
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
downloadlinux-7880b43bdfc9580700ee4568c75c383a5bcdd2ca.tar.gz
linux-7880b43bdfc9580700ee4568c75c383a5bcdd2ca.tar.bz2
linux-7880b43bdfc9580700ee4568c75c383a5bcdd2ca.zip
9p: constify ->d_name handling
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r--include/net/9p/9p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index 27dfe85772b1..b8eb51a661e5 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -402,10 +402,10 @@ struct p9_wstat {
u32 atime;
u32 mtime;
u64 length;
- char *name;
- char *uid;
- char *gid;
- char *muid;
+ const char *name;
+ const char *uid;
+ const char *gid;
+ const char *muid;
char *extension; /* 9p2000.u extensions */
kuid_t n_uid; /* 9p2000.u extensions */
kgid_t n_gid; /* 9p2000.u extensions */