diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 05:04:19 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 05:04:19 -0400 |
commit | e009400870c16c2003b2183b2daa9f1e80ff516b (patch) | |
tree | 190fcac0ea25385720acac21ed31510ff1143db9 | |
parent | 6f8950cd731432508859ef0c054b026270095b2e (diff) |
xfs: remove unused pag ptr arg from iterator execute functions
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r-- | fs/xfs/xfs_icache.c | 12 | ||||
-rw-r--r-- | fs/xfs/xfs_icache.h | 6 | ||||
-rw-r--r-- | fs/xfs/xfs_qm_syscalls.c | 1 |
3 files changed, 6 insertions, 13 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 | { |
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h index 9ed68bb750f5..9cf017b899be 100644 --- a/fs/xfs/xfs_icache.h +++ b/fs/xfs/xfs_icache.h | |||
@@ -60,12 +60,10 @@ int xfs_icache_free_eofblocks(struct xfs_mount *, struct xfs_eofblocks *); | |||
60 | void xfs_eofblocks_worker(struct work_struct *); | 60 | void xfs_eofblocks_worker(struct work_struct *); |
61 | 61 | ||
62 | int xfs_inode_ag_iterator(struct xfs_mount *mp, | 62 | int xfs_inode_ag_iterator(struct xfs_mount *mp, |
63 | int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, | 63 | int (*execute)(struct xfs_inode *ip, int flags, void *args), |
64 | int flags, void *args), | ||
65 | int flags, void *args); | 64 | int flags, void *args); |
66 | int xfs_inode_ag_iterator_tag(struct xfs_mount *mp, | 65 | int xfs_inode_ag_iterator_tag(struct xfs_mount *mp, |
67 | int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, | 66 | int (*execute)(struct xfs_inode *ip, int flags, void *args), |
68 | int flags, void *args), | ||
69 | int flags, void *args, int tag); | 67 | int flags, void *args, int tag); |
70 | 68 | ||
71 | static inline int | 69 | static inline int |
diff --git a/fs/xfs/xfs_qm_syscalls.c b/fs/xfs/xfs_qm_syscalls.c index 3daf5ea1eb8d..72cbe65e5e75 100644 --- a/fs/xfs/xfs_qm_syscalls.c +++ b/fs/xfs/xfs_qm_syscalls.c | |||
@@ -959,7 +959,6 @@ xfs_qm_export_flags( | |||
959 | STATIC int | 959 | STATIC int |
960 | xfs_dqrele_inode( | 960 | xfs_dqrele_inode( |
961 | struct xfs_inode *ip, | 961 | struct xfs_inode *ip, |
962 | struct xfs_perag *pag, | ||
963 | int flags, | 962 | int flags, |
964 | void *args) | 963 | void *args) |
965 | { | 964 | { |