git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Constify structures containing function pointers
[zfs.git]
/
include
/
sys
/
vdev_impl.h
diff --git
a/include/sys/vdev_impl.h
b/include/sys/vdev_impl.h
index
4133f2c
..
964ee24
100644
(file)
--- a/
include/sys/vdev_impl.h
+++ b/
include/sys/vdev_impl.h
@@
-67,7
+67,7
@@
typedef void vdev_state_change_func_t(vdev_t *vd, int, int);
typedef void vdev_hold_func_t(vdev_t *vd);
typedef void vdev_rele_func_t(vdev_t *vd);
-typedef struct vdev_ops {
+typedef
const
struct vdev_ops {
vdev_open_func_t *vdev_op_open;
vdev_close_func_t *vdev_op_close;
vdev_asize_func_t *vdev_op_asize;