-STATIC ssize_t
-xfs_file_sendfile_invis(
- struct file *filp,
- loff_t *pos,
- size_t count,
- read_actor_t actor,
- void *target)
-{
- return bhv_vop_sendfile(vn_from_inode(filp->f_dentry->d_inode),
- filp, pos, IO_INVIS, count, actor, target, NULL);
-}
-
-STATIC ssize_t
-xfs_file_splice_read(
- struct file *infilp,
- loff_t *ppos,
- struct pipe_inode_info *pipe,
- size_t len,
- unsigned int flags)
-{
- return bhv_vop_splice_read(vn_from_inode(infilp->f_dentry->d_inode),
- infilp, ppos, pipe, len, flags, 0, NULL);
-}
-
-STATIC ssize_t
-xfs_file_splice_read_invis(
- struct file *infilp,
- loff_t *ppos,
- struct pipe_inode_info *pipe,
- size_t len,
- unsigned int flags)
-{
- return bhv_vop_splice_read(vn_from_inode(infilp->f_dentry->d_inode),
- infilp, ppos, pipe, len, flags, IO_INVIS,
- NULL);
-}
-
-STATIC ssize_t
-xfs_file_splice_write(
- struct pipe_inode_info *pipe,
- struct file *outfilp,
- loff_t *ppos,
- size_t len,
- unsigned int flags)
-{
- return bhv_vop_splice_write(vn_from_inode(outfilp->f_dentry->d_inode),
- pipe, outfilp, ppos, len, flags, 0, NULL);
+ VOP_SENDFILE(vp, filp, ppos, 0, count, actor, target, NULL, rval);
+ return rval;