aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-04-14 05:04:19 -0400
committerDave Chinner <david@fromorbit.com>2014-04-14 05:04:19 -0400
commite009400870c16c2003b2183b2daa9f1e80ff516b (patch)
tree190fcac0ea25385720acac21ed31510ff1143db9
parent6f8950cd731432508859ef0c054b026270095b2e (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.c12
-rw-r--r--fs/xfs/xfs_icache.h6
-rw-r--r--fs/xfs/xfs_qm_syscalls.c1
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
507xfs_inode_ag_walk( 507xfs_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(
636int 635int
637xfs_inode_ag_iterator( 636xfs_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(
664int 662int
665xfs_inode_ag_iterator_tag( 663xfs_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(
1209STATIC int 1206STATIC int
1210xfs_inode_free_eofblocks( 1207xfs_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 *);
60void xfs_eofblocks_worker(struct work_struct *); 60void xfs_eofblocks_worker(struct work_struct *);
61 61
62int xfs_inode_ag_iterator(struct xfs_mount *mp, 62int 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);
66int xfs_inode_ag_iterator_tag(struct xfs_mount *mp, 65int 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
71static inline int 69static 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(
959STATIC int 959STATIC int
960xfs_dqrele_inode( 960xfs_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{