aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2022-07-06 13:15:19 +0200
committerDavid Sterba <[email protected]>2022-07-25 17:45:40 +0200
commit39ade048a32ea653b94dcfbf816b0b13a6be8a33 (patch)
tree3f6c7688ede853fc018a122564a0430d2a221df4 /fs/btrfs/inode.c
parentac5e666951507ceb1da2ed85c4f5c7bb88bec06e (diff)
highmem: Make __kunmap_{local,atomic}() take const void pointer
__kunmap_ {local,atomic}() currently take pointers to void. However, this is semantically incorrect, since these functions do not change the memory their arguments point to. Therefore, make this semantics explicit by modifying the __kunmap_{local,atomic}() prototypes to take pointers to const void. As a side effect, compilers may produce more efficient code. Acked-by: Andrew Morton <[email protected]> Acked-by: Helge Deller <[email protected]> # parisc Suggested-by: David Sterba <[email protected]> Suggested-by: Ira Weiny <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Signed-off-by: Fabio M. De Francesco <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions