]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298698:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 May 2016 00:36:31 +0000 (00:36 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 May 2016 00:36:31 +0000 (00:36 +0000)
commit2f3478b8879d003d077362877fb918c1015d64cb
tree8ccfde7a85ab98e9727200acab33ee05ba14ac22
parent6a6825f74dc405afbd6e82ee5da2b04b6fb15bbc
MFC r298698:
geom: unsign some types to match their definitions and avoid overflows.

In struct:gctl_req, nargs is unsigned.

In mirror:
g_mirror_syncreqs is unsigned.

In raid:
in struct:g_raid_volume, v_disks_count is unsigned.

In virstor:
in struct:g_virstor_softc, n_components is unsigned.

git-svn-id: svn://svn.freebsd.org/base/stable/10@299397 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/geom_ctl.c
sys/geom/mirror/g_mirror.c
sys/geom/raid/md_promise.c
sys/geom/raid/md_sii.c
sys/geom/virstor/g_virstor.c