summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorTommi Virtanen <tommi.virtanen@dreamhost.com>2011-03-28 23:59:38 +0200
committerSage Weil <sage@newdream.net>2011-03-29 21:11:24 +0200
commit4b2a58abd1e17c0ee53c8dded879e015917cca67 (patch)
tree585a02b8e3e36f7e6069d43000355e75aba097d3 /include/keys
parentlibceph: Get secret from the kernel keys api when mounting with key=NAME. (diff)
downloadlinux-4b2a58abd1e17c0ee53c8dded879e015917cca67.tar.xz
linux-4b2a58abd1e17c0ee53c8dded879e015917cca67.zip
libceph: Create a new key type "ceph".
This allows us to use existence of the key type as a feature test, from userspace. Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'include/keys')
-rw-r--r--include/keys/ceph-type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/keys/ceph-type.h b/include/keys/ceph-type.h
new file mode 100644
index 000000000000..f69c4ac197a0
--- /dev/null
+++ b/include/keys/ceph-type.h
@@ -0,0 +1,8 @@
+#ifndef _KEYS_CEPH_TYPE_H
+#define _KEYS_CEPH_TYPE_H
+
+#include <linux/key.h>
+
+extern struct key_type key_type_ceph;
+
+#endif