aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 18:01:31 +0000
committerJens Axboe <[email protected]>2023-06-21 13:45:19 +0000
commit65d7a37d4e3e226bb4a4ddf73a827d0dbc77f530 (patch)
tree625eb6cbd9c42caa7f856a42922c617e7c3cf082 /fs/btrfs/dev-replace.c
parentblock/rnbd: make all 'class' structures const (diff)
downloadkernel-65d7a37d4e3e226bb4a4ddf73a827d0dbc77f530.tar.gz
kernel-65d7a37d4e3e226bb4a4ddf73a827d0dbc77f530.zip
aoe: make aoe_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the aoe_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Justin Sanders <[email protected]> Cc: Jens Axboe <[email protected]> Cc: [email protected] Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions