summaryrefslogtreecommitdiff
path: root/check/mode-lowmem.c
diff options
context:
space:
mode:
authorSu Yanjun <suyj.fnst@cn.fujitsu.com>2018-10-12 15:41:53 +0800
committerDavid Sterba <dsterba@suse.com>2018-10-25 16:11:40 +0200
commit22e47679504de19b3d3256f1d741d5465112fe0a (patch)
tree622a52cd9f9b3f9d6bc89cce90e5dd0e128b7d31 /check/mode-lowmem.c
parentb4843d366906cdb5b1198c0206b720ba28ee66f6 (diff)
btrfs-progs: consitfy keys passed to serch functions
When using gcc8 to compile btrfs-progs, it complains as below: ctree.c: In function 'btrfs_search_slot_for_read': ctree.c:1249:45: warning: passing argument 3 of 'btrfs_search_slot' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ret = btrfs_search_slot(NULL, root, key, p, 0, 0); Change btrfs_search_slot prototype with 'const' qualifier for argument 3. Also fix similar problems as above change. Signed-off-by: Su Yanjun <suyj.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'check/mode-lowmem.c')
0 files changed, 0 insertions, 0 deletions