Skip to content
Snippets Groups Projects
Commit 7264745d authored by Thorsten Blum's avatar Thorsten Blum Committed by Ilya Dryomov
Browse files

ceph: use struct_size() helper in __ceph_pool_perm_get()


Use struct_size() to calculate the number of bytes to be allocated.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: default avatarIlya Dryomov <idryomov@gmail.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 9852d85e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment