kernel - Fix clustered read bug (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Mar 2012 00:52:48 +0000 (17:52 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Mar 2012 00:52:48 +0000 (17:52 -0700)
commitcf83ee2c9f055dbfa3c0574a1a15ba9b9561af52
tree0ff6b97b6ed018fa746fde729d9a0777b512d561
parent616dd1e975d76733afe06d1739b0cdefcafff635
kernel - Fix clustered read bug (2)

* Fix an edge case that can cause hammer1 to panic.  The read-ahead
  must not go past the filesize limit.  HAMMER1 uses this to
  implement two different logical buffer sizes for regular files.
sys/kern/vfs_cluster.c