Skip to content

Commit

Permalink
ceph: show meaningful version on module load
Browse files Browse the repository at this point in the history
Kill the old git revision; print the ceph version and protocol
versions instead.

Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
Sage Weil committed Oct 7, 2009
1 parent e324b8f commit fa0b72e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions fs/ceph/ceph_ver.h

This file was deleted.

5 changes: 3 additions & 2 deletions fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/version.h>
#include <linux/vmalloc.h>

#include "ceph_ver.h"
#include "decode.h"
#include "super.h"
#include "mon_client.h"
Expand Down Expand Up @@ -903,7 +902,9 @@ static int __init init_ceph(void)
if (ret)
goto out_icache;

pr_info("loaded (%s)\n", STRINGIFY(CEPH_GIT_VER));
pr_info("loaded %d.%d.%d (mon/mds/osd proto %d/%d/%d)\n",
CEPH_VERSION_MAJOR, CEPH_VERSION_MINOR, CEPH_VERSION_PATCH,
CEPH_MONC_PROTOCOL, CEPH_MDSC_PROTOCOL, CEPH_OSDC_PROTOCOL);
return 0;

out_icache:
Expand Down

0 comments on commit fa0b72e

Please sign in to comment.