|
@@ -139,9 +139,6 @@ typedef ssize_t (*vop_read_t)(bhv_desc_t *, struct kiocb *,
|
|
|
typedef ssize_t (*vop_write_t)(bhv_desc_t *, struct kiocb *,
|
|
|
const struct iovec *, unsigned int,
|
|
|
loff_t *, int, struct cred *);
|
|
|
-typedef ssize_t (*vop_sendfile_t)(bhv_desc_t *, struct file *,
|
|
|
- loff_t *, int, size_t, read_actor_t,
|
|
|
- void *, struct cred *);
|
|
|
typedef ssize_t (*vop_splice_read_t)(bhv_desc_t *, struct file *, loff_t *,
|
|
|
struct pipe_inode_info *, size_t, int, int,
|
|
|
struct cred *);
|
|
@@ -206,7 +203,6 @@ typedef struct bhv_vnodeops {
|
|
|
vop_close_t vop_close;
|
|
|
vop_read_t vop_read;
|
|
|
vop_write_t vop_write;
|
|
|
- vop_sendfile_t vop_sendfile;
|
|
|
vop_splice_read_t vop_splice_read;
|
|
|
vop_splice_write_t vop_splice_write;
|
|
|
vop_ioctl_t vop_ioctl;
|
|
@@ -254,8 +250,6 @@ typedef struct bhv_vnodeops {
|
|
|
VOP(vop_read, vp)(VNHEAD(vp),file,iov,segs,offset,ioflags,cr)
|
|
|
#define bhv_vop_write(vp,file,iov,segs,offset,ioflags,cr) \
|
|
|
VOP(vop_write, vp)(VNHEAD(vp),file,iov,segs,offset,ioflags,cr)
|
|
|
-#define bhv_vop_sendfile(vp,f,off,ioflags,cnt,act,targ,cr) \
|
|
|
- VOP(vop_sendfile, vp)(VNHEAD(vp),f,off,ioflags,cnt,act,targ,cr)
|
|
|
#define bhv_vop_splice_read(vp,f,o,pipe,cnt,fl,iofl,cr) \
|
|
|
VOP(vop_splice_read, vp)(VNHEAD(vp),f,o,pipe,cnt,fl,iofl,cr)
|
|
|
#define bhv_vop_splice_write(vp,f,o,pipe,cnt,fl,iofl,cr) \
|