diff options
author | Jeff Mahoney <jeffm@suse.com> | 2017-06-28 21:56:53 -0600 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-08-16 14:19:53 +0200 |
commit | 1cbb1f454e5321e47fc1e6b233066c7ccc979d15 (patch) | |
tree | 574441acf725ed6fc7dc370c0c1d298989051981 /fs/btrfs/async-thread.c | |
parent | 23d1f73788785a770fe6eb348fee4b26281d2064 (diff) | |
download | linux-1cbb1f454e5321e47fc1e6b233066c7ccc979d15.tar.bz2 |
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 <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions