Do not loop forever doing 0-sized I/Os if si_iosize_max is 0. Instead
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 23 Jul 2007 19:19:11 +0000 (19:19 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 23 Jul 2007 19:19:11 +0000 (19:19 +0000)
commitce7b884d3c95b1c78b704f5ed6f69f79fba52854
tree6fd3a08f73ab01959eafcab795898b89f1bcba19
parentdaf0c2f6676042cd3c9584679e77a1372570b05f
Do not loop forever doing 0-sized I/Os if si_iosize_max is 0.  Instead
generate a warning and assume MAXPHYS.

Reported-by: "Max Herrgaard" <herrgaard@gmail.com>
sys/vfs/specfs/spec_vnops.c