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/sys/file.h | |
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/sys/file.h')
-rw-r--r-- | sys/sys/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h index 63a7e8f..cc4e900 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -241,6 +241,8 @@ fo_chmod_t invfo_chmod; fo_chown_t invfo_chown; fo_sendfile_t invfo_sendfile; +fo_sendfile_t vn_sendfile; + void finit(struct file *, u_int, short, void *, struct fileops *); int fgetvp(struct thread *td, int fd, cap_rights_t rights, struct vnode **vpp); int fgetvp_exec(struct thread *td, int fd, cap_rights_t rights, |