Skip to content

raw_bsd: Fixing use of the 'offset' option without 'size'

Tomáš Golembiovský qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2raw_bsd: move check to prevent overflowblock/raw_bsd.c+9 -10 replies
2/2raw_bsd: don't check size alignment when only offset is setblock/raw_bsd.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.8 0/2] raw_bsd: Fixing use of the 'offset' option without 'size'

The patch set contains two patches related to the use of 'offset' option:

- The first patch is purely cosmetic. Although it touches overflow check it only affects what error message is produced.

- Second patch lessens the restriction on the size alignment when only 'offset' is specified. The restriction is not only unneeded, it makes it difficult to use the 'offset' option.

Tomáš Golembiovský (2):
raw_bsd: move check to prevent overflow
raw_bsd: don't check size alignment when only offset is set

 block/raw_bsd.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
Signature · 1 line
2.10.1