Skip to content

rbd: check snap_count against RBD_MAX_SNAP_COUNT#908

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1103168=>linus-master
Open

rbd: check snap_count against RBD_MAX_SNAP_COUNT#908
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1103168=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented May 30, 2026

Pull request for series with
subject: rbd: check snap_count against RBD_MAX_SNAP_COUNT
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1103168

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 30, 2026

Upstream branch: 8fde5d1
series: https://patchwork.kernel.org/project/linux-block/list/?series=1103168
version: 1

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 30, 2026

Upstream branch: 8fde5d1
series: https://patchwork.kernel.org/project/linux-block/list/?series=1103168
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1103168=>linus-master branch from 4c1f1cf to f9e6fff Compare May 30, 2026 02:15
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 3f4a345 to c6dc343 Compare June 1, 2026 08:57
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Jun 1, 2026

Upstream branch: e43ffb6
series: https://patchwork.kernel.org/project/linux-block/list/?series=1103168
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1103168=>linus-master branch from f9e6fff to 0ecb510 Compare June 1, 2026 09:18
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c6dc343 to fc36596 Compare June 3, 2026 13:56
snap_count is u32 but the comparison is against a SIZE_MAX-derived value
(~2^61 on 64-bit), which clang flags as always false with
-Wtautological-constant-out-of-range-compare.

The proper check here should be that snap_count does not go over
RBD_MAX_SNAP_COUNT.

Assisted-by: Opencode:Big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Alex Elder <elder@riscstar.com>
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Jun 3, 2026

Upstream branch: ba3e43a
series: https://patchwork.kernel.org/project/linux-block/list/?series=1103168
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1103168=>linus-master branch from 0ecb510 to 229c1df Compare June 3, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant