diff options
author | Sage Weil <sage@newdream.net> | 2009-10-07 13:59:10 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-07 13:59:10 -0400 |
commit | fa0b72e9e2900ee87886aaf8bc4c4701be1e081d (patch) | |
tree | 61fd8a0bf6dd27a0ae1bc11bd45e171aefa46fda | |
parent | e324b8f991679a43e09dd13500bf1988c0bfc0ea (diff) |
ceph: show meaningful version on module load
Kill the old git revision; print the ceph version and protocol
versions instead.
Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r-- | fs/ceph/ceph_ver.h | 6 | ||||
-rw-r--r-- | fs/ceph/super.c | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/fs/ceph/ceph_ver.h b/fs/ceph/ceph_ver.h deleted file mode 100644 index 66c3727b671b..000000000000 --- a/fs/ceph/ceph_ver.h +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #ifndef __CEPH_VERSION_H | ||
2 | #define __CEPH_VERSION_H | ||
3 | |||
4 | #define CEPH_GIT_VER 335cd8f952b457095ea2a66aee3db50efb63c91d | ||
5 | |||
6 | #endif | ||
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 0723fb6e96a1..b3404a319c22 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/version.h> | 16 | #include <linux/version.h> |
17 | #include <linux/vmalloc.h> | 17 | #include <linux/vmalloc.h> |
18 | 18 | ||
19 | #include "ceph_ver.h" | ||
20 | #include "decode.h" | 19 | #include "decode.h" |
21 | #include "super.h" | 20 | #include "super.h" |
22 | #include "mon_client.h" | 21 | #include "mon_client.h" |
@@ -903,7 +902,9 @@ static int __init init_ceph(void) | |||
903 | if (ret) | 902 | if (ret) |
904 | goto out_icache; | 903 | goto out_icache; |
905 | 904 | ||
906 | pr_info("loaded (%s)\n", STRINGIFY(CEPH_GIT_VER)); | 905 | pr_info("loaded %d.%d.%d (mon/mds/osd proto %d/%d/%d)\n", |
906 | CEPH_VERSION_MAJOR, CEPH_VERSION_MINOR, CEPH_VERSION_PATCH, | ||
907 | CEPH_MONC_PROTOCOL, CEPH_MDSC_PROTOCOL, CEPH_OSDC_PROTOCOL); | ||
907 | return 0; | 908 | return 0; |
908 | 909 | ||
909 | out_icache: | 910 | out_icache: |