Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

libceph, ceph: move mdsmap.h to fs/ceph

The mdsmap.h is only used by CephFS, so move it to fs/ceph.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>

authored by

Xiubo Li and committed by
Ilya Dryomov
522dc510 38d46409

+2 -2
+1 -1
fs/ceph/mds_client.h
··· 14 14 15 15 #include <linux/ceph/types.h> 16 16 #include <linux/ceph/messenger.h> 17 - #include <linux/ceph/mdsmap.h> 18 17 #include <linux/ceph/auth.h> 19 18 19 + #include "mdsmap.h" 20 20 #include "metric.h" 21 21 #include "super.h" 22 22
+1 -1
fs/ceph/mdsmap.c
··· 7 7 #include <linux/slab.h> 8 8 #include <linux/types.h> 9 9 10 - #include <linux/ceph/mdsmap.h> 11 10 #include <linux/ceph/messenger.h> 12 11 #include <linux/ceph/decode.h> 13 12 13 + #include "mdsmap.h" 14 14 #include "mds_client.h" 15 15 #include "super.h" 16 16
include/linux/ceph/mdsmap.h fs/ceph/mdsmap.h