diff options
| author | Eric Biggers <[email protected]> | 2017-06-22 18:32:45 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2017-08-28 15:47:18 +0000 |
| commit | 5916a22b83041b07d63191fe06206ae0fff6ec7a (patch) | |
| tree | c1d154dcb136fe8e82e57e40f667557fc276c762 /fs/btrfs/dev-replace.c | |
| parent | dm integrity: count and display checksum failures (diff) | |
| download | kernel-5916a22b83041b07d63191fe06206ae0fff6ec7a.tar.gz kernel-5916a22b83041b07d63191fe06206ae0fff6ec7a.zip | |
dm: constify argument arrays
The arrays of 'struct dm_arg' are never modified by the device-mapper
core, so constify them so that they are placed in .rodata.
(Exception: the args array in dm-raid cannot be constified because it is
allocated on the stack and modified.)
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
