]> git.karo-electronics.de Git - linux-beck.git/commit
ceph: fix debugfs entry, simplify fsid checks
authorSage Weil <sage@newdream.net>
Thu, 19 Nov 2009 00:50:41 +0000 (16:50 -0800)
committerSage Weil <sage@newdream.net>
Fri, 20 Nov 2009 22:24:27 +0000 (14:24 -0800)
commit0743304d871559cb4c7c066357de2caa60e94c2f
tree546510a84c1bda27e71a8a8229544d99f5624252
parentcfea1cf42b614583c02727d5bffd5a2384e92bda
ceph: fix debugfs entry, simplify fsid checks

We may first learn our fsid from any of the mon, osd, or mds maps
(whichever the monitor sends first).  Consolidate checks in a single
helper.  Initialize the client debugfs entry then, since we need the
fsid (and global_id) for the directory name.

Also remove dead mount code.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/debugfs.c
fs/ceph/mds_client.c
fs/ceph/mon_client.c
fs/ceph/osd_client.c
fs/ceph/super.c
fs/ceph/super.h