Skip to contentSkip to conversation

remove sendfile leftovers

PATCH In review Christoph Hellwig 3 participants 3 messages Feb 8, 2008 – Feb 20, 2008 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove sendfile leftovers

Remove the last sendfile leftovers in mainline. This code is already gone in CVS.

fs/xfs/linux-2.6/xfs_lrw.h +0 -1
diff -uNr -Xdontdiff -p linux-2.6/fs/xfs/linux-2.6/xfs_lrw.h linux-2.6-xfs/fs/xfs/linux-2.6/xfs_lrw.h
@@ -50,7 +50,6 @@ struct xfs_iomap;
 #define	XFS_INVAL_CACHED	18
 #define	XFS_DIORD_ENTER		19
 #define	XFS_DIOWR_ENTER		20
-#define	XFS_SENDFILE_ENTER	21
 #define	XFS_WRITEPAGE_ENTER	22
 #define	XFS_RELEASEPAGE_ENTER	23
 #define	XFS_INVALIDPAGE_ENTER	24
fs/xfs/xfs_vnodeops.h +0 -3
diff -uNr -Xdontdiff -p linux-2.6/fs/xfs/xfs_vnodeops.h linux-2.6-xfs/fs/xfs/xfs_vnodeops.h
@@ -60,9 +60,6 @@ int xfs_ioctl(struct xfs_inode *ip, stru
 ssize_t xfs_read(struct xfs_inode *ip, struct kiocb *iocb,
 		const struct iovec *iovp, unsigned int segs,
 		loff_t *offset, int ioflags);
-ssize_t xfs_sendfile(struct xfs_inode *ip, struct file *filp,
-		loff_t *offset, int ioflags, size_t count,
-		read_actor_t actor, void *target);
 ssize_t xfs_splice_read(struct xfs_inode *ip, struct file *infilp,
 		loff_t *ppos, struct pipe_inode_info *pipe, size_t count,
 		int flags, int ioflags);
#1 lore raw
Quoted 2 lines · Christoph Hellwig

Remove the last sendfile leftovers in mainline. This code is already gone in CVS.

Any chance to pass on these three no-risk mainline-only patches to Linus? I'm pretty sure they'll get lost otherwise until the next merge window..

#2 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 2 lines · Christoph Hellwig

Remove the last sendfile leftovers in mainline. This code is already gone in CVS.

Any chance to pass on these three no-risk mainline-only patches to Linus? I'm pretty sure they'll get lost otherwise until the next merge window..

Lachlan, has this been pushed upstream yet?

Thanks

Signature · 4 lines
 Mark Goodwin                                  [email protected]
 Engineering Manager for XFS and PCP    Phone: +61-3-99631937
 SGI Australian Software Group           Cell: +61-4-18969583
-------------------------------------------------------------