KEYS: Ceph: Use key preparsing
commitefa64c0978a1fb3de8bca6f931b9858c3e371f1f
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Jul 2014 17:56:35 +0000 (18 18:56 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:46:23 +0000 (22 21:46 +0100)
tree1d89d5c247eff51025fe9f31bb7c8273693b8964
parentf9167789df53f22af771fb6690a3d36aa21d74c5
KEYS: Ceph: Use key preparsing

Make use of key preparsing in Ceph so that quota size determination can take
place prior to keyring locking when a key is being added.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
cc: Tommi Virtanen <tommi.virtanen@dreamhost.com>
net/ceph/crypto.c