Skip to content

Commit 2c6d792

Browse files
SukrutHerookaraxboe
authored andcommitted
drbd: turn bitmap I/O comments into regular block comments
W=1 build warns because the bitmap I/O comments use '/**', which marks them as kernel-doc comments even though these functions do not document an external API. Convert these comments to regular block comments so kernel-doc no longer parses them. Signed-off-by: Sukrut Heroorkar <hsukrut3@gmail.com> Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 3179a5f commit 2c6d792

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/block/drbd/drbd_bitmap.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ static int bm_rw(struct drbd_device *device, const unsigned int flags, unsigned
12101210
return err;
12111211
}
12121212

1213-
/**
1213+
/*
12141214
* drbd_bm_read() - Read the whole bitmap from its on disk location.
12151215
* @device: DRBD device.
12161216
*/
@@ -1221,7 +1221,7 @@ int drbd_bm_read(struct drbd_device *device,
12211221
return bm_rw(device, BM_AIO_READ, 0);
12221222
}
12231223

1224-
/**
1224+
/*
12251225
* drbd_bm_write() - Write the whole bitmap to its on disk location.
12261226
* @device: DRBD device.
12271227
*
@@ -1233,7 +1233,7 @@ int drbd_bm_write(struct drbd_device *device,
12331233
return bm_rw(device, 0, 0);
12341234
}
12351235

1236-
/**
1236+
/*
12371237
* drbd_bm_write_all() - Write the whole bitmap to its on disk location.
12381238
* @device: DRBD device.
12391239
*
@@ -1255,7 +1255,7 @@ int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_ho
12551255
return bm_rw(device, BM_AIO_COPY_PAGES, upper_idx);
12561256
}
12571257

1258-
/**
1258+
/*
12591259
* drbd_bm_write_copy_pages() - Write the whole bitmap to its on disk location.
12601260
* @device: DRBD device.
12611261
*
@@ -1272,7 +1272,7 @@ int drbd_bm_write_copy_pages(struct drbd_device *device,
12721272
return bm_rw(device, BM_AIO_COPY_PAGES, 0);
12731273
}
12741274

1275-
/**
1275+
/*
12761276
* drbd_bm_write_hinted() - Write bitmap pages with "hint" marks, if they have changed.
12771277
* @device: DRBD device.
12781278
*/

0 commit comments

Comments
 (0)