mirror of https://gitee.com/openkylin/linux.git
xfs: rename xfs_defer_join to xfs_defer_ijoin
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
411350df14
commit
882d8785fb
|
@ -6452,7 +6452,7 @@ __xfs_bmap_add(
|
|||
bi->bi_whichfork = whichfork;
|
||||
bi->bi_bmap = *bmap;
|
||||
|
||||
error = xfs_defer_join(dfops, bi->bi_owner);
|
||||
error = xfs_defer_ijoin(dfops, bi->bi_owner);
|
||||
if (error) {
|
||||
kmem_free(bi);
|
||||
return error;
|
||||
|
|
|
@ -281,7 +281,7 @@ xfs_defer_has_unfinished_work(
|
|||
* to xfs_defer_finish().
|
||||
*/
|
||||
int
|
||||
xfs_defer_join(
|
||||
xfs_defer_ijoin(
|
||||
struct xfs_defer_ops *dop,
|
||||
struct xfs_inode *ip)
|
||||
{
|
||||
|
@ -324,7 +324,7 @@ xfs_defer_finish(
|
|||
|
||||
trace_xfs_defer_finish((*tp)->t_mountp, dop);
|
||||
|
||||
xfs_defer_join(dop, ip);
|
||||
xfs_defer_ijoin(dop, ip);
|
||||
|
||||
/* Until we run out of pending work to finish... */
|
||||
while (xfs_defer_has_unfinished_work(dop)) {
|
||||
|
|
|
@ -77,7 +77,7 @@ int xfs_defer_finish(struct xfs_trans **tp, struct xfs_defer_ops *dop,
|
|||
void xfs_defer_cancel(struct xfs_defer_ops *dop);
|
||||
void xfs_defer_init(struct xfs_defer_ops *dop, xfs_fsblock_t *fbp);
|
||||
bool xfs_defer_has_unfinished_work(struct xfs_defer_ops *dop);
|
||||
int xfs_defer_join(struct xfs_defer_ops *dop, struct xfs_inode *ip);
|
||||
int xfs_defer_ijoin(struct xfs_defer_ops *dop, struct xfs_inode *ip);
|
||||
|
||||
/* Description of a deferred type. */
|
||||
struct xfs_defer_op_type {
|
||||
|
|
Loading…
Reference in New Issue