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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment