diff options
author | brian <brian@FreeBSD.org> | 2010-08-23 05:33:31 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2010-08-23 05:33:31 +0000 |
commit | 89b2d8bbb41d5ec5413bd240bfb6033899482af5 (patch) | |
tree | c84bd831835375bd740eb4a1f2a1b1f7cbe10543 /sys/modules/acpi | |
parent | 86c4c6b1df3ee3fb37a13959ff7ba362f3010f9f (diff) | |
download | FreeBSD-src-89b2d8bbb41d5ec5413bd240bfb6033899482af5.zip FreeBSD-src-89b2d8bbb41d5ec5413bd240bfb6033899482af5.tar.gz |
uio_resid isn't updated by VOP_READDIR for nfs filesystems. Use
the uio_offset adjustment instead to calculate a correct *len.
Without this change, we run off the end of the directory data
we're reading and panic horribly for nfs filesystems.
MFC after: 1 week
Diffstat (limited to 'sys/modules/acpi')
0 files changed, 0 insertions, 0 deletions