diff options
| author | Jeff Mahoney <[email protected]> | 2017-06-29 03:56:53 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-08-16 12:19:53 +0000 |
| commit | 1cbb1f454e5321e47fc1e6b233066c7ccc979d15 (patch) | |
| tree | 574441acf725ed6fc7dc370c0c1d298989051981 /fs/btrfs/async-thread.h | |
| parent | btrfs: remove unused sectorsize member (diff) | |
| download | kernel-1cbb1f454e5321e47fc1e6b233066c7ccc979d15.tar.gz kernel-1cbb1f454e5321e47fc1e6b233066c7ccc979d15.zip | |
btrfs: struct-funcs, constify readers
We have reader helpers for most of the on-disk structures that use
an extent_buffer and pointer as offset into the buffer that are
read-only. We should mark them as const and, in turn, allow consumers
of these interfaces to mark the buffers const as well.
No impact on code, but serves as documentation that a buffer is intended
not to be modified.
Signed-off-by: Jeff Mahoney <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions
