projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c48b5
)
client: include kernel version in client metadata
author
Yan, Zheng
<zyan@redhat.com>
Fri, 16 Jan 2015 02:54:43 +0000
(10:54 +0800)
committer
Ilya Dryomov
<idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:39 +0000
(13:31 +0300)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/mds_client.c
patch
|
blob
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index 03720fe3f5313a682415da29b952e8599957387d..03482c0974b6373573047995880dd0b75565f6a9 100644
(file)
--- a/
fs/ceph/mds_client.c
+++ b/
fs/ceph/mds_client.c
@@
-844,8
+844,9
@@
static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u6
struct ceph_options *opt = mdsc->fsc->client->options;
void *p;
- const char* metadata[
3
][2] = {
+ const char* metadata[][2] = {
{"hostname", utsname()->nodename},
+ {"kernel_version", utsname()->release},
{"entity_id", opt->name ? opt->name : ""},
{NULL, NULL}
};