diff options
author | Kyle Spiers <kyle@spiers.me> | 2018-03-17 17:44:01 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-04-02 10:12:50 +0200 |
commit | 08a79102aa373e03ce704621fd84567605214465 (patch) | |
tree | adac761d483b00e4beabf0b1e108c8d60d196860 /fs/ceph/quota.c | |
parent | rbd: fix spelling mistake: "reregisteration" -> "reregistration" (diff) | |
download | linux-08a79102aa373e03ce704621fd84567605214465.tar.xz linux-08a79102aa373e03ce704621fd84567605214465.zip |
rbd: remove VLA usage
As part of the effort to remove VLAs from the kernel[1], this moves
the literal values into the stack array calculation instead of using a
variable for the sizing. The resulting size can be found from
sizeof(buf).
[1] https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/quota.c')
0 files changed, 0 insertions, 0 deletions