diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-02-15 04:44:46 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-03-01 17:34:18 -0500 |
commit | dda35b8f84d209784041bbad47f9e195a08a7527 (patch) | |
tree | d132d40c3f0646e74ab29ffd45f771f8b87a5883 /fs/xfs/xfs_vnodeops.h | |
parent | b262e5dfd9ddd2f6d0ef3fa53eb88690f22134a5 (diff) |
xfs: merge xfs_lrw.c into xfs_file.c
Currently the code to implement the file operations is split over
two small files. Merge the content of xfs_lrw.c into xfs_file.c to
have it in one place. Note that I haven't done various cleanups
that are possible after this yet, they will follow in the next
patch. Also the function xfs_dev_is_read_only which was in
xfs_lrw.c before really doesn't fit in here at all and was moved to
xfs_mount.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.h')
-rw-r--r-- | fs/xfs/xfs_vnodeops.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/xfs/xfs_vnodeops.h b/fs/xfs/xfs_vnodeops.h index 774f40729ca1..ee33e11d9872 100644 --- a/fs/xfs/xfs_vnodeops.h +++ b/fs/xfs/xfs_vnodeops.h | |||
@@ -50,18 +50,6 @@ int xfs_attr_set(struct xfs_inode *dp, const unsigned char *name, | |||
50 | int xfs_attr_remove(struct xfs_inode *dp, const unsigned char *name, int flags); | 50 | int xfs_attr_remove(struct xfs_inode *dp, const unsigned char *name, int flags); |
51 | int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize, | 51 | int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize, |
52 | int flags, struct attrlist_cursor_kern *cursor); | 52 | int flags, struct attrlist_cursor_kern *cursor); |
53 | ssize_t xfs_read(struct xfs_inode *ip, struct kiocb *iocb, | ||
54 | const struct iovec *iovp, unsigned int segs, | ||
55 | loff_t *offset, int ioflags); | ||
56 | ssize_t xfs_splice_read(struct xfs_inode *ip, struct file *infilp, | ||
57 | loff_t *ppos, struct pipe_inode_info *pipe, size_t count, | ||
58 | int flags, int ioflags); | ||
59 | ssize_t xfs_splice_write(struct xfs_inode *ip, | ||
60 | struct pipe_inode_info *pipe, struct file *outfilp, | ||
61 | loff_t *ppos, size_t count, int flags, int ioflags); | ||
62 | ssize_t xfs_write(struct xfs_inode *xip, struct kiocb *iocb, | ||
63 | const struct iovec *iovp, unsigned int nsegs, | ||
64 | loff_t *offset, int ioflags); | ||
65 | int xfs_bmap(struct xfs_inode *ip, xfs_off_t offset, ssize_t count, | 53 | int xfs_bmap(struct xfs_inode *ip, xfs_off_t offset, ssize_t count, |
66 | int flags, struct xfs_iomap *iomapp, int *niomaps); | 54 | int flags, struct xfs_iomap *iomapp, int *niomaps); |
67 | void xfs_tosspages(struct xfs_inode *inode, xfs_off_t first, | 55 | void xfs_tosspages(struct xfs_inode *inode, xfs_off_t first, |