.. | .. |
---|
39 | 39 | * locked, and which 128 byte chunks of the buffer are dirty. |
---|
40 | 40 | */ |
---|
41 | 41 | struct xfs_buf_log_item { |
---|
42 | | - xfs_log_item_t bli_item; /* common item structure */ |
---|
| 42 | + struct xfs_log_item bli_item; /* common item structure */ |
---|
43 | 43 | struct xfs_buf *bli_buf; /* real buffer pointer */ |
---|
44 | 44 | unsigned int bli_flags; /* misc flags */ |
---|
45 | 45 | unsigned int bli_recur; /* lock recursion count */ |
---|
.. | .. |
---|
50 | 50 | }; |
---|
51 | 51 | |
---|
52 | 52 | int xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *); |
---|
| 53 | +void xfs_buf_item_done(struct xfs_buf *bp); |
---|
53 | 54 | void xfs_buf_item_relse(struct xfs_buf *); |
---|
54 | 55 | bool xfs_buf_item_put(struct xfs_buf_log_item *); |
---|
55 | 56 | void xfs_buf_item_log(struct xfs_buf_log_item *, uint, uint); |
---|
56 | 57 | bool xfs_buf_item_dirty_format(struct xfs_buf_log_item *); |
---|
57 | | -void xfs_buf_attach_iodone(struct xfs_buf *, |
---|
58 | | - void(*)(struct xfs_buf *, xfs_log_item_t *), |
---|
59 | | - xfs_log_item_t *); |
---|
60 | | -void xfs_buf_iodone_callbacks(struct xfs_buf *); |
---|
61 | | -void xfs_buf_iodone(struct xfs_buf *, struct xfs_log_item *); |
---|
62 | | -bool xfs_buf_resubmit_failed_buffers(struct xfs_buf *, |
---|
63 | | - struct list_head *); |
---|
| 58 | +void xfs_buf_inode_iodone(struct xfs_buf *); |
---|
| 59 | +void xfs_buf_inode_io_fail(struct xfs_buf *bp); |
---|
| 60 | +#ifdef CONFIG_XFS_QUOTA |
---|
| 61 | +void xfs_buf_dquot_iodone(struct xfs_buf *); |
---|
| 62 | +void xfs_buf_dquot_io_fail(struct xfs_buf *bp); |
---|
| 63 | +#else |
---|
| 64 | +static inline void xfs_buf_dquot_iodone(struct xfs_buf *bp) |
---|
| 65 | +{ |
---|
| 66 | +} |
---|
| 67 | +static inline void xfs_buf_dquot_io_fail(struct xfs_buf *bp) |
---|
| 68 | +{ |
---|
| 69 | +} |
---|
| 70 | +#endif /* CONFIG_XFS_QUOTA */ |
---|
| 71 | +void xfs_buf_iodone(struct xfs_buf *); |
---|
| 72 | +bool xfs_buf_log_check_iovec(struct xfs_log_iovec *iovec); |
---|
64 | 73 | |
---|
65 | 74 | extern kmem_zone_t *xfs_buf_item_zone; |
---|
66 | 75 | |
---|