Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Sandeen and committed by
Dave Chinner
e0094008 6f8950cd

+6 -13
+4 -8
fs/xfs/xfs_icache.c
··· 507 507 xfs_inode_ag_walk( 508 508 struct xfs_mount *mp, 509 509 struct xfs_perag *pag, 510 - int (*execute)(struct xfs_inode *ip, 511 - struct xfs_perag *pag, int flags, 510 + int (*execute)(struct xfs_inode *ip, int flags, 512 511 void *args), 513 512 int flags, 514 513 void *args, ··· 581 582 for (i = 0; i < nr_found; i++) { 582 583 if (!batch[i]) 583 584 continue; 584 - error = execute(batch[i], pag, flags, args); 585 + error = execute(batch[i], flags, args); 585 586 IRELE(batch[i]); 586 587 if (error == EAGAIN) { 587 588 skipped++; ··· 635 636 int 636 637 xfs_inode_ag_iterator( 637 638 struct xfs_mount *mp, 638 - int (*execute)(struct xfs_inode *ip, 639 - struct xfs_perag *pag, int flags, 639 + int (*execute)(struct xfs_inode *ip, int flags, 640 640 void *args), 641 641 int flags, 642 642 void *args) ··· 662 664 int 663 665 xfs_inode_ag_iterator_tag( 664 666 struct xfs_mount *mp, 665 - int (*execute)(struct xfs_inode *ip, 666 - struct xfs_perag *pag, int flags, 667 + int (*execute)(struct xfs_inode *ip, int flags, 667 668 void *args), 668 669 int flags, 669 670 void *args, ··· 1206 1209 STATIC int 1207 1210 xfs_inode_free_eofblocks( 1208 1211 struct xfs_inode *ip, 1209 - struct xfs_perag *pag, 1210 1212 int flags, 1211 1213 void *args) 1212 1214 {
+2 -4
fs/xfs/xfs_icache.h
··· 60 60 void xfs_eofblocks_worker(struct work_struct *); 61 61 62 62 int xfs_inode_ag_iterator(struct xfs_mount *mp, 63 - int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, 64 - int flags, void *args), 63 + int (*execute)(struct xfs_inode *ip, int flags, void *args), 65 64 int flags, void *args); 66 65 int xfs_inode_ag_iterator_tag(struct xfs_mount *mp, 67 - int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, 68 - int flags, void *args), 66 + int (*execute)(struct xfs_inode *ip, int flags, void *args), 69 67 int flags, void *args, int tag); 70 68 71 69 static inline int
-1
fs/xfs/xfs_qm_syscalls.c
··· 959 959 STATIC int 960 960 xfs_dqrele_inode( 961 961 struct xfs_inode *ip, 962 - struct xfs_perag *pag, 963 962 int flags, 964 963 void *args) 965 964 {