summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-07-26 20:05:20 +0000
committertmm <tmm@FreeBSD.org>2001-07-26 20:05:20 +0000
commit6ba9978f5d17181b365af2302ddbdc9b563da2cf (patch)
treeef646ad7e3c4247be08bca5555bb5b04c4b2fb43 /sys/kern/subr_param.c
parentd106b78011ceca12159f46d0be07e2d54237c469 (diff)
downloadFreeBSD-src-6ba9978f5d17181b365af2302ddbdc9b563da2cf.zip
FreeBSD-src-6ba9978f5d17181b365af2302ddbdc9b563da2cf.tar.gz
Make sure the total number of sectors is not 0 for a vnode-type md to
avoid a division by zero which would occur on open() in this case. Reviewed by: phk
Diffstat (limited to 'sys/kern/subr_param.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud