summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorTommi Virtanen <tommi.virtanen@dreamhost.com>2011-03-28 14:59:38 -0700
committerSage Weil <sage@newdream.net>2011-03-29 12:11:24 -0700
commit4b2a58abd1e17c0ee53c8dded879e015917cca67 (patch)
tree585a02b8e3e36f7e6069d43000355e75aba097d3 /include/keys
parente2c3d29b4295c3eec18294bc34f0c99a7b9ae413 (diff)
downloadlinux-stable-4b2a58abd1e17c0ee53c8dded879e015917cca67.tar.gz
linux-stable-4b2a58abd1e17c0ee53c8dded879e015917cca67.tar.bz2
linux-stable-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