rbd: make const pointer spaces a static const array
authorColin Ian King <colin.i.king@googlemail.com>
Sat, 27 Nov 2021 17:21:04 +0000 (17:21 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 13 Jan 2022 12:40:06 +0000 (13:40 +0100)
commit435a120a47eed0b3a1ac7b86cf1f7707bf2242ce
treefe2680f6e15ecda007b4f1e28015e40ba9471ddf
parent8e55ba8caae5cd380b1c9c81a426602a667e110e
rbd: make const pointer spaces a static const array

Don't populate the const array spaces on the stack but make it static
const and make the pointer an array to remove a dereference. Shrinks
object code a little too.  Also clean up intent, currently it is spaces
and should be a tab.

Signed-off-by: Colin Ian King <colin.i.king@googlemail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c