summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2018-02-17 10:41:20 +0100
committerIlya Dryomov <idryomov@gmail.com>2018-04-02 10:12:43 +0200
commit08c1ac508b6dc20ac866e7cdb7279245437c7d26 (patch)
tree5b1eee491292e772b446ceba9729fb6ba4d899f1 /fs/ceph
parented0811d2d243c4195580a9671266031907c02ca7 (diff)
downloadlinux-stable-08c1ac508b6dc20ac866e7cdb7279245437c7d26.tar.gz
linux-stable-08c1ac508b6dc20ac866e7cdb7279245437c7d26.tar.bz2
linux-stable-08c1ac508b6dc20ac866e7cdb7279245437c7d26.zip
libceph, ceph: move ceph_calc_file_object_mapping() to striper.c
ceph_calc_file_object_mapping() has nothing to do with osdmaps. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/addr.c1
-rw-r--r--fs/ceph/ioctl.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index c0fe1b6f47ac..c3557a9ea73d 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -15,6 +15,7 @@
#include "mds_client.h"
#include "cache.h"
#include <linux/ceph/osd_client.h>
+#include <linux/ceph/striper.h>
/*
* Ceph address space ops.
diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c
index b855d24a895a..c90f03beb15d 100644
--- a/fs/ceph/ioctl.c
+++ b/fs/ceph/ioctl.c
@@ -5,7 +5,7 @@
#include "super.h"
#include "mds_client.h"
#include "ioctl.h"
-
+#include <linux/ceph/striper.h>
/*
* ioctls