summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-01-11 00:28:33 +0100
committerIlya Dryomov <idryomov@gmail.com>2022-01-13 13:40:07 +0100
commita0b3a15eab6bc2e90008460b646d53e7d9dcdbbb (patch)
treef5c2d4552c96a1ce5a90f66c1de85059ed0b123e /fs/ceph/super.c
parentceph: remove redundant Lsx caps check (diff)
downloadlinux-a0b3a15eab6bc2e90008460b646d53e7d9dcdbbb.tar.xz
linux-a0b3a15eab6bc2e90008460b646d53e7d9dcdbbb.zip
ceph: move CEPH_SUPER_MAGIC definition to magic.h
The uapi headers are missing the ceph definition. Move it there so userland apps can ID cephfs. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r--fs/ceph/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index eb255d24e321..dbcf9b743c88 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -27,6 +27,8 @@
#include <linux/ceph/auth.h>
#include <linux/ceph/debugfs.h>
+#include <uapi/linux/magic.h>
+
static DEFINE_SPINLOCK(ceph_fsc_lock);
static LIST_HEAD(ceph_fsc_list);