diff options
author | Ryan Moeller <[email protected]> | 2020-06-06 15:54:04 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-06 12:54:04 -0700 |
commit | 60265072e02049be708f74cf0865eba2434a2d85 (patch) | |
tree | 6cd0cabba28e51cfe2b25712d1b6a2fac8fb7857 /include/sys/vdev.h | |
parent | c1f3de18a4347c3aceee114e6681c2055e8863f8 (diff) |
Improve compatibility with C++ consumers
C++ is a little picky about not using keywords for names, or string
constness.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Jorgen Lundman <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10409
Diffstat (limited to 'include/sys/vdev.h')
-rw-r--r-- | include/sys/vdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/vdev.h b/include/sys/vdev.h index c4ef479b5..d93ef78f1 100644 --- a/include/sys/vdev.h +++ b/include/sys/vdev.h @@ -178,7 +178,7 @@ extern nvlist_t *vdev_label_read_config(vdev_t *vd, uint64_t txg); extern void vdev_uberblock_load(vdev_t *, struct uberblock *, nvlist_t **); extern void vdev_config_generate_stats(vdev_t *vd, nvlist_t *nv); extern void vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t - offset, uint64_t size, zio_done_func_t *done, void *private, int flags); + offset, uint64_t size, zio_done_func_t *done, void *priv, int flags); extern int vdev_label_read_bootenv(vdev_t *, nvlist_t *); extern int vdev_label_write_bootenv(vdev_t *, char *); |