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>
This commit is contained in:
Tommi Virtanen
2011-03-28 14:59:38 -07:00
committed by Sage Weil
parent e2c3d29b42
commit 4b2a58abd1
4 changed files with 85 additions and 8 deletions

8
include/keys/ceph-type.h Normal file
View File

@ -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