Skip to content

Couple of coverity fixes

Nikolay Borisov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: Remove unused -EIO assignment in end_bio_extent_readpagefs/btrfs/extent_io.c+0 -21 reply
2/3btrfs: Fix bound checking in qgroup_trace_new_subtree_blocksfs/btrfs/qgroup.c+3 -31 reply
3/3btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_sizefs/btrfs/extent-tree.c+1 -14 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchQu WenruoDavid Sterba
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Couple of coverity fixes

Here are 3 patches based on the latest coverity defect scans. Mostly minor, quality-of-life type of fixes. One redundant assignment removal, 1 bounds checking in qgroup and 1 possible overflow in qgroups please merge.

Nikolay Borisov (3):
btrfs: Remove unused -EIO assignment in end_bio_extent_readpage
btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
btrfs: Avoid possible qgroup_rsv_size overflow in
btrfs_calculate_inode_block_rsv_size

 fs/btrfs/extent-tree.c | 2 +-
 fs/btrfs/extent_io.c   | 2 --
 fs/btrfs/qgroup.c      | 6 +++---
 3 files changed, 4 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.1