ceph: fix ceph_mdsc_build_path to not stop on first component

When ceph_mdsc_build_path is handed a positive dentry, it will return a
zero-length path string with the base set to that dentry.  This is not
what we want. Always include at least one path component in the string.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
1 file changed