diff options
author | Colin Ian King <colin.i.king@googlemail.com> | 2021-11-10 22:20:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 11:48:37 +0300 |
commit | 9fe0ba31271cec187b09cf868d6cf09551726b86 (patch) | |
tree | 6ecb9ce8844af3c52012f52eb3c39bbd63ab900a /ipc | |
parent | 67fb5eac4063e884f029daa5bd94cbcf7bf3cebe (diff) | |
download | linux-9fe0ba31271cec187b09cf868d6cf09551726b86.tar.xz |
btrfs: make 1-bit bit-fields of scrub_page unsigned int
[ Upstream commit d08e38b62327961295be1c63b562cd46ec97cd07 ]
The bitfields have_csum and io_error are currently signed which is not
recommended as the representation is an implementation defined
behaviour. Fix this by making the bit-fields unsigned ints.
Fixes: 2c36395430b0 ("btrfs: scrub: remove the anonymous structure from scrub_page")
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions