Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

client: include kernel version in client metadata

Signed-off-by: Yan, Zheng <zyan@redhat.com>

authored by

Yan, Zheng and committed by
Ilya Dryomov
a6a5ce4f 38c48b5f

+2 -1
+2 -1
fs/ceph/mds_client.c
··· 844 844 struct ceph_options *opt = mdsc->fsc->client->options; 845 845 void *p; 846 846 847 - const char* metadata[3][2] = { 847 + const char* metadata[][2] = { 848 848 {"hostname", utsname()->nodename}, 849 + {"kernel_version", utsname()->release}, 849 850 {"entity_id", opt->name ? opt->name : ""}, 850 851 {NULL, NULL} 851 852 };