summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2017-06-28 21:56:53 -0600
committerDavid Sterba <dsterba@suse.com>2017-08-16 14:19:53 +0200
commit1cbb1f454e5321e47fc1e6b233066c7ccc979d15 (patch)
tree574441acf725ed6fc7dc370c0c1d298989051981 /fs/btrfs/async-thread.c
parent23d1f73788785a770fe6eb348fee4b26281d2064 (diff)
downloadlinux-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