diff options
Diffstat (limited to 'fs/xfs/xfs_icache.c')
-rw-r--r-- | fs/xfs/xfs_icache.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index 98d35244eecc..c48df5f25b9f 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c | |||
@@ -507,8 +507,7 @@ STATIC int | |||
507 | xfs_inode_ag_walk( | 507 | xfs_inode_ag_walk( |
508 | struct xfs_mount *mp, | 508 | struct xfs_mount *mp, |
509 | struct xfs_perag *pag, | 509 | struct xfs_perag *pag, |
510 | int (*execute)(struct xfs_inode *ip, | 510 | int (*execute)(struct xfs_inode *ip, int flags, |
511 | struct xfs_perag *pag, int flags, | ||
512 | void *args), | 511 | void *args), |
513 | int flags, | 512 | int flags, |
514 | void *args, | 513 | void *args, |
@@ -582,7 +581,7 @@ restart: | |||
582 | for (i = 0; i < nr_found; i++) { | 581 | for (i = 0; i < nr_found; i++) { |
583 | if (!batch[i]) | 582 | if (!batch[i]) |
584 | continue; | 583 | continue; |
585 | error = execute(batch[i], pag, flags, args); | 584 | error = execute(batch[i], flags, args); |
586 | IRELE(batch[i]); | 585 | IRELE(batch[i]); |
587 | if (error == EAGAIN) { | 586 | if (error == EAGAIN) { |
588 | skipped++; | 587 | skipped++; |
@@ -636,8 +635,7 @@ xfs_eofblocks_worker( | |||
636 | int | 635 | int |
637 | xfs_inode_ag_iterator( | 636 | xfs_inode_ag_iterator( |
638 | struct xfs_mount *mp, | 637 | struct xfs_mount *mp, |
639 | int (*execute)(struct xfs_inode *ip, | 638 | int (*execute)(struct xfs_inode *ip, int flags, |
640 | struct xfs_perag *pag, int flags, | ||
641 | void *args), | 639 | void *args), |
642 | int flags, | 640 | int flags, |
643 | void *args) | 641 | void *args) |
@@ -664,8 +662,7 @@ xfs_inode_ag_iterator( | |||
664 | int | 662 | int |
665 | xfs_inode_ag_iterator_tag( | 663 | xfs_inode_ag_iterator_tag( |
666 | struct xfs_mount *mp, | 664 | struct xfs_mount *mp, |
667 | int (*execute)(struct xfs_inode *ip, | 665 | int (*execute)(struct xfs_inode *ip, int flags, |
668 | struct xfs_perag *pag, int flags, | ||
669 | void *args), | 666 | void *args), |
670 | int flags, | 667 | int flags, |
671 | void *args, | 668 | void *args, |
@@ -1209,7 +1206,6 @@ xfs_inode_match_id( | |||
1209 | STATIC int | 1206 | STATIC int |
1210 | xfs_inode_free_eofblocks( | 1207 | xfs_inode_free_eofblocks( |
1211 | struct xfs_inode *ip, | 1208 | struct xfs_inode *ip, |
1212 | struct xfs_perag *pag, | ||
1213 | int flags, | 1209 | int flags, |
1214 | void *args) | 1210 | void *args) |
1215 | { | 1211 | { |