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>
return memcmp(a, b, sizeof(*a));
}
-static inline void ceph_fsid_set(struct ceph_fsid *d,
- const struct ceph_fsid *s)
-{
- memcpy(d, s, sizeof(*d));
-}
-
/*
* ino, object, etc.
*/