diff options
author | kib <kib@FreeBSD.org> | 2013-08-16 14:22:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-08-16 14:22:20 +0000 |
commit | 408a640438d54402be29b92aefda7ba7b30eea12 (patch) | |
tree | c3ca331a6d664a174b37499d96e02899b6c3678b /sys/dev | |
parent | a43a1c528c44934b6d1c882f39cb7d4f58d6257e (diff) | |
download | FreeBSD-src-408a640438d54402be29b92aefda7ba7b30eea12.zip FreeBSD-src-408a640438d54402be29b92aefda7ba7b30eea12.tar.gz |
Restore the previous sendfile(2) behaviour on the block devices.
Provide valid .fo_sendfile method for several missed struct fileops.
Reviewed by: glebius
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/streams/streams.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index ad2817f..3ddbcc7 100644 --- a/sys/dev/streams/streams.c +++ b/sys/dev/streams/streams.c @@ -98,6 +98,7 @@ static struct fileops svr4_netops = { .fo_close = svr4_soo_close, .fo_chmod = invfo_chmod, .fo_chown = invfo_chown, + .fo_sendfile = invfo_sendfile, }; static struct cdevsw streams_cdevsw = { |