diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-02-11 09:44:38 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 15:06:02 +0300 |
commit | b9942bc9d3c70d359496a1a0afc528d4ab89be46 (patch) | |
tree | 9e73d944b4e7d6c5ea860ded6148c5a077bb86a6 /fs/ceph/mds_client.c | |
parent | 6c696d8560e74cd42458931375875d62ae88c6ae (diff) | |
download | linux-b9942bc9d3c70d359496a1a0afc528d4ab89be46.tar.xz |
rbd: constify device_type structure
Declare device_type structure as const as it is only stored in the
type field of a device structure. This field is of type const, so add
const to the declaration of device_type structure.
File size before:
text data bss dec hex filename
61546 11610 208 73364 11e94 drivers/block/rbd.o
File size after:
text data bss dec hex filename
61610 11578 208 73396 11eb4 drivers/block/rbd.o
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/mds_client.c')
0 files changed, 0 insertions, 0 deletions