diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_lrw.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.h b/fs/xfs/linux-2.6/xfs_lrw.h index 7c60a1eed88b..4b7747a828d9 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.h +++ b/fs/xfs/linux-2.6/xfs_lrw.h | |||
@@ -18,8 +18,6 @@ | |||
18 | #ifndef __XFS_LRW_H__ | 18 | #ifndef __XFS_LRW_H__ |
19 | #define __XFS_LRW_H__ | 19 | #define __XFS_LRW_H__ |
20 | 20 | ||
21 | struct bhv_desc; | ||
22 | struct bhv_vnode; | ||
23 | struct xfs_mount; | 21 | struct xfs_mount; |
24 | struct xfs_iocore; | 22 | struct xfs_iocore; |
25 | struct xfs_inode; | 23 | struct xfs_inode; |
@@ -71,30 +69,11 @@ extern void xfs_inval_cached_trace(struct xfs_iocore *, | |||
71 | #define xfs_inval_cached_trace(io, offset, len, first, last) | 69 | #define xfs_inval_cached_trace(io, offset, len, first, last) |
72 | #endif | 70 | #endif |
73 | 71 | ||
74 | /* | ||
75 | * Maximum count of bmaps used by read and write paths. | ||
76 | */ | ||
77 | #define XFS_MAX_RW_NBMAPS 4 | ||
78 | |||
79 | extern int xfs_bmap(struct bhv_desc *, xfs_off_t, ssize_t, int, | ||
80 | struct xfs_iomap *, int *); | ||
81 | extern int xfsbdstrat(struct xfs_mount *, struct xfs_buf *); | 72 | extern int xfsbdstrat(struct xfs_mount *, struct xfs_buf *); |
82 | extern int xfs_bdstrat_cb(struct xfs_buf *); | 73 | extern int xfs_bdstrat_cb(struct xfs_buf *); |
83 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); | 74 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); |
84 | 75 | ||
85 | extern int xfs_zero_eof(struct bhv_vnode *, struct xfs_iocore *, xfs_off_t, | 76 | extern int xfs_zero_eof(struct inode *, struct xfs_iocore *, xfs_off_t, |
86 | xfs_fsize_t); | 77 | xfs_fsize_t); |
87 | extern ssize_t xfs_read(struct bhv_desc *, struct kiocb *, | ||
88 | const struct iovec *, unsigned int, | ||
89 | loff_t *, int, struct cred *); | ||
90 | extern ssize_t xfs_write(struct bhv_desc *, struct kiocb *, | ||
91 | const struct iovec *, unsigned int, | ||
92 | loff_t *, int, struct cred *); | ||
93 | extern ssize_t xfs_splice_read(struct bhv_desc *, struct file *, loff_t *, | ||
94 | struct pipe_inode_info *, size_t, int, int, | ||
95 | struct cred *); | ||
96 | extern ssize_t xfs_splice_write(struct bhv_desc *, struct pipe_inode_info *, | ||
97 | struct file *, loff_t *, size_t, int, int, | ||
98 | struct cred *); | ||
99 | 78 | ||
100 | #endif /* __XFS_LRW_H__ */ | 79 | #endif /* __XFS_LRW_H__ */ |