fix and optimize btrfs_lookup_bio_sums()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: avoid reusing variable names in nested blocksfs/ | +4 | 1 reply | |
| 2/2 | btrfs: optimize search_file_offset_in_bio return value to boolfs/ | +4 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] fix and optimize btrfs_lookup_bio_sums()
The function btrfs_lookup_bio_sums() has %ret declaration two times
blk_status_t ret = BLK_STS_OK;
and also in an if statement block.
int ret;
Patch 1/2 addresses this issue, while patch 2/2 optimizes the return value of search_file_offset_in_bio().
Anand Jain (2):
btrfs: avoid reusing variable names in nested blocks
btrfs: optimize search_file_offset_in_bio return value to bool
fs/btrfs/file-item.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)
Signature · 1 line
2.31.1