summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-09-23 21:00:41 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-25 15:18:27 +0200
commitb4b069dcb22bd707775c3c649d77124ed006e39f (patch)
treec672453bf399dd4d06ac7948c683544873afc644 /help.c
parent510a282f7f17ec3541a0f6845cb100847aa6857f (diff)
btrfs-progs: free-space-cache: fix endianity when reading from disk_key
Sparse reports: free-space-cache.c:921:13: warning: incorrect type in assignment (different base types) free-space-cache.c:921:13: expected unsigned long long [unsigned] [usertype] ino free-space-cache.c:921:13: got restricted __le64 [addressable] [usertype] objectid we need to use the helper to read objectid, as read_eb_member just copies the data without disk->cpu transformation. This could lead to bogus results on bigendian machines. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions