| Message ID | 20260320091745976o3u3XYI9SyVZ0siV2roHH@zte.com.cn |
|---|---|
| State | New |
| Headers | show |
| Series | block: fix annotation | expand |
Am 20.03.2026 um 02:17 hat long.yunjian@zte.com.cn geschrieben: > From: Yunjian Long <long.yunjian@zte.com.cn> > > The bdrv_bsc_is_data function is defined in block_int-io.h, > so the correct annotation is block_int-io.h rather than block_int.h > > Signed-off-by: Yunjian Long <long.yunjian@zte.com.cn> > --- > block.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/block.c b/block.c > index 48a17f393c..3166114890 100644 > --- a/block.c > +++ b/block.c > @@ -8477,7 +8477,7 @@ static bool bdrv_bsc_range_overlaps_locked(BlockDriverState *bs, > } > > /** > - * See block_int.h for this function's documentation. > + * See block_int-io.h for this function's documentation. > */ > bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum) > { That's right, good catch. A few lines down there is the same problem in bdrv_bsc_invalidate_range() and bdrv_bsc_fill(). Can you please fix all of them at once in a v2 patch? Kevin
diff --git a/block.c b/block.c index 48a17f393c..3166114890 100644 --- a/block.c +++ b/block.c @@ -8477,7 +8477,7 @@ static bool bdrv_bsc_range_overlaps_locked(BlockDriverState *bs, } /** - * See block_int.h for this function's documentation. + * See block_int-io.h for this function's documentation. */ bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum) {