aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorRobert Wing <rew@FreeBSD.org>2021-09-04 20:25:10 +0000
committerRobert Wing <rew@FreeBSD.org>2021-09-04 20:25:10 +0000
commit440320b620a29fdc4033a2b9b67eb4401cb903bb (patch)
tree95fde124176acfa23857a259c7eb7e945975fe5c /sys/ufs
parent541699f6f69c2ba196386c31107b0159457013c2 (diff)
downloadsrc-440320b620a29fdc4033a2b9b67eb4401cb903bb.tar.gz
src-440320b620a29fdc4033a2b9b67eb4401cb903bb.zip
ffs: remove unused thread argument from ffs_reload()
MFC After: 1 week Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D31127
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_extern.h2
-rw-r--r--sys/ufs/ffs/ffs_suspend.c2
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h
index 2ea828861b42..c835239986ba 100644
--- a/sys/ufs/ffs/ffs_extern.h
+++ b/sys/ufs/ffs/ffs_extern.h
@@ -89,7 +89,7 @@ int ffs_own_mount(const struct mount *mp);
int ffs_reallocblks(struct vop_reallocblks_args *);
int ffs_realloccg(struct inode *, ufs2_daddr_t, ufs2_daddr_t,
ufs2_daddr_t, int, int, int, struct ucred *, struct buf **);
-int ffs_reload(struct mount *, struct thread *, int);
+int ffs_reload(struct mount *, int);
int ffs_sbget(void *, struct fs **, off_t, struct malloc_type *,
int (*)(void *, off_t, void **, int));
int ffs_sbput(void *, struct fs *, off_t, int (*)(void *, off_t, void *,
diff --git a/sys/ufs/ffs/ffs_suspend.c b/sys/ufs/ffs/ffs_suspend.c
index a7fef099cd70..d13097109758 100644
--- a/sys/ufs/ffs/ffs_suspend.c
+++ b/sys/ufs/ffs/ffs_suspend.c
@@ -265,7 +265,7 @@ ffs_susp_dtor(void *data)
KASSERT((mp->mnt_kern_flag & MNTK_SUSPEND) != 0,
("MNTK_SUSPEND not set"));
- error = ffs_reload(mp, curthread, FFSR_FORCE | FFSR_UNSUSPEND);
+ error = ffs_reload(mp, FFSR_FORCE | FFSR_UNSUSPEND);
if (error != 0)
panic("failed to unsuspend writes on %s", fs->fs_fsmnt);
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index aad7b4f2decd..fd3b2689c2ee 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -538,7 +538,7 @@ ffs_mount(struct mount *mp)
vfs_write_resume(mp, 0);
}
if ((mp->mnt_flag & MNT_RELOAD) &&
- (error = ffs_reload(mp, td, 0)) != 0)
+ (error = ffs_reload(mp, 0)) != 0)
return (error);
if (fs->fs_ronly &&
!vfs_flagopt(mp->mnt_optnew, "ro", NULL, 0)) {
@@ -849,7 +849,7 @@ ffs_cmount(struct mntarg *ma, void *data, uint64_t flags)
* 7) re-read inode data for all active vnodes.
*/
int
-ffs_reload(struct mount *mp, struct thread *td, int flags)
+ffs_reload(struct mount *mp, int flags)
{
struct vnode *vp, *mvp, *devvp;
struct inode *ip;