mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-09 08:02:05 +00:00
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>
This commit is contained in:
parent
6f8950cd73
commit
e009400870
3 changed files with 6 additions and 13 deletions
|
@ -507,8 +507,7 @@ STATIC int
|
||||||
xfs_inode_ag_walk(
|
xfs_inode_ag_walk(
|
||||||
struct xfs_mount *mp,
|
struct xfs_mount *mp,
|
||||||
struct xfs_perag *pag,
|
struct xfs_perag *pag,
|
||||||
int (*execute)(struct xfs_inode *ip,
|
int (*execute)(struct xfs_inode *ip, int flags,
|
||||||
struct xfs_perag *pag, int flags,
|
|
||||||
void *args),
|
void *args),
|
||||||
int flags,
|
int flags,
|
||||||
void *args,
|
void *args,
|
||||||
|
@ -582,7 +581,7 @@ restart:
|
||||||
for (i = 0; i < nr_found; i++) {
|
for (i = 0; i < nr_found; i++) {
|
||||||
if (!batch[i])
|
if (!batch[i])
|
||||||
continue;
|
continue;
|
||||||
error = execute(batch[i], pag, flags, args);
|
error = execute(batch[i], flags, args);
|
||||||
IRELE(batch[i]);
|
IRELE(batch[i]);
|
||||||
if (error == EAGAIN) {
|
if (error == EAGAIN) {
|
||||||
skipped++;
|
skipped++;
|
||||||
|
@ -636,8 +635,7 @@ xfs_eofblocks_worker(
|
||||||
int
|
int
|
||||||
xfs_inode_ag_iterator(
|
xfs_inode_ag_iterator(
|
||||||
struct xfs_mount *mp,
|
struct xfs_mount *mp,
|
||||||
int (*execute)(struct xfs_inode *ip,
|
int (*execute)(struct xfs_inode *ip, int flags,
|
||||||
struct xfs_perag *pag, int flags,
|
|
||||||
void *args),
|
void *args),
|
||||||
int flags,
|
int flags,
|
||||||
void *args)
|
void *args)
|
||||||
|
@ -664,8 +662,7 @@ xfs_inode_ag_iterator(
|
||||||
int
|
int
|
||||||
xfs_inode_ag_iterator_tag(
|
xfs_inode_ag_iterator_tag(
|
||||||
struct xfs_mount *mp,
|
struct xfs_mount *mp,
|
||||||
int (*execute)(struct xfs_inode *ip,
|
int (*execute)(struct xfs_inode *ip, int flags,
|
||||||
struct xfs_perag *pag, int flags,
|
|
||||||
void *args),
|
void *args),
|
||||||
int flags,
|
int flags,
|
||||||
void *args,
|
void *args,
|
||||||
|
@ -1209,7 +1206,6 @@ xfs_inode_match_id(
|
||||||
STATIC int
|
STATIC int
|
||||||
xfs_inode_free_eofblocks(
|
xfs_inode_free_eofblocks(
|
||||||
struct xfs_inode *ip,
|
struct xfs_inode *ip,
|
||||||
struct xfs_perag *pag,
|
|
||||||
int flags,
|
int flags,
|
||||||
void *args)
|
void *args)
|
||||||
{
|
{
|
||||||
|
|
|
@ -60,12 +60,10 @@ int xfs_icache_free_eofblocks(struct xfs_mount *, struct xfs_eofblocks *);
|
||||||
void xfs_eofblocks_worker(struct work_struct *);
|
void xfs_eofblocks_worker(struct work_struct *);
|
||||||
|
|
||||||
int xfs_inode_ag_iterator(struct xfs_mount *mp,
|
int xfs_inode_ag_iterator(struct xfs_mount *mp,
|
||||||
int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag,
|
int (*execute)(struct xfs_inode *ip, int flags, void *args),
|
||||||
int flags, void *args),
|
|
||||||
int flags, void *args);
|
int flags, void *args);
|
||||||
int xfs_inode_ag_iterator_tag(struct xfs_mount *mp,
|
int xfs_inode_ag_iterator_tag(struct xfs_mount *mp,
|
||||||
int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag,
|
int (*execute)(struct xfs_inode *ip, int flags, void *args),
|
||||||
int flags, void *args),
|
|
||||||
int flags, void *args, int tag);
|
int flags, void *args, int tag);
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
|
|
|
@ -959,7 +959,6 @@ xfs_qm_export_flags(
|
||||||
STATIC int
|
STATIC int
|
||||||
xfs_dqrele_inode(
|
xfs_dqrele_inode(
|
||||||
struct xfs_inode *ip,
|
struct xfs_inode *ip,
|
||||||
struct xfs_perag *pag,
|
|
||||||
int flags,
|
int flags,
|
||||||
void *args)
|
void *args)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue