diff options
| author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 02:12:30 -0400 |
|---|---|---|
| committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 02:54:29 -0400 |
| commit | 993386c19afa53fa54d00c7721e56ba820b3400d (patch) | |
| tree | 1715fdeb9cc5ea99466e179b54e84b168fd5e127 /fs/xfs/linux-2.6/xfs_lrw.h | |
| parent | b93bd20cd59eb7ec172f95d08b100fea688d8bcf (diff) | |
[XFS] decontaminate vnode operations from behavior details
All vnode ops now take struct xfs_inode pointers and the behaviour related
glue is split out into methods of it's own. This required fixing
xfs_create/mkdir/symlink to not mess with the inode pointer but rather use
a separate boolean for error handling. Thanks to Dave Chinner for that
fix.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29492a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_lrw.h')
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.h b/fs/xfs/linux-2.6/xfs_lrw.h index 1ad29bae5415..fa7cefa86a82 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.h +++ b/fs/xfs/linux-2.6/xfs_lrw.h | |||
| @@ -71,25 +71,11 @@ extern void xfs_inval_cached_trace(struct xfs_iocore *, | |||
| 71 | #define xfs_inval_cached_trace(io, offset, len, first, last) | 71 | #define xfs_inval_cached_trace(io, offset, len, first, last) |
| 72 | #endif | 72 | #endif |
| 73 | 73 | ||
| 74 | extern int xfs_bmap(struct bhv_desc *, xfs_off_t, ssize_t, int, | ||
| 75 | struct xfs_iomap *, int *); | ||
| 76 | extern int xfsbdstrat(struct xfs_mount *, struct xfs_buf *); | 74 | extern int xfsbdstrat(struct xfs_mount *, struct xfs_buf *); |
| 77 | extern int xfs_bdstrat_cb(struct xfs_buf *); | 75 | extern int xfs_bdstrat_cb(struct xfs_buf *); |
| 78 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); | 76 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); |
| 79 | 77 | ||
| 80 | extern int xfs_zero_eof(struct bhv_vnode *, struct xfs_iocore *, xfs_off_t, | 78 | extern int xfs_zero_eof(struct bhv_vnode *, struct xfs_iocore *, xfs_off_t, |
| 81 | xfs_fsize_t); | 79 | xfs_fsize_t); |
| 82 | extern ssize_t xfs_read(struct bhv_desc *, struct kiocb *, | ||
| 83 | const struct iovec *, unsigned int, | ||
| 84 | loff_t *, int, struct cred *); | ||
| 85 | extern ssize_t xfs_write(struct bhv_desc *, struct kiocb *, | ||
| 86 | const struct iovec *, unsigned int, | ||
| 87 | loff_t *, int, struct cred *); | ||
| 88 | extern ssize_t xfs_splice_read(struct bhv_desc *, struct file *, loff_t *, | ||
| 89 | struct pipe_inode_info *, size_t, int, int, | ||
| 90 | struct cred *); | ||
| 91 | extern ssize_t xfs_splice_write(struct bhv_desc *, struct pipe_inode_info *, | ||
| 92 | struct file *, loff_t *, size_t, int, int, | ||
| 93 | struct cred *); | ||
| 94 | 80 | ||
| 95 | #endif /* __XFS_LRW_H__ */ | 81 | #endif /* __XFS_LRW_H__ */ |
