Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174301928
D31127.id92035.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31127.id92035.diff
View Options
Index: sys/ufs/ffs/ffs_extern.h
===================================================================
--- sys/ufs/ffs/ffs_extern.h
+++ sys/ufs/ffs/ffs_extern.h
@@ -89,7 +89,7 @@
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 *,
Index: sys/ufs/ffs/ffs_suspend.c
===================================================================
--- sys/ufs/ffs/ffs_suspend.c
+++ sys/ufs/ffs/ffs_suspend.c
@@ -265,7 +265,7 @@
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);
Index: sys/ufs/ffs/ffs_vfsops.c
===================================================================
--- sys/ufs/ffs/ffs_vfsops.c
+++ sys/ufs/ffs/ffs_vfsops.c
@@ -565,7 +565,7 @@
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)) {
@@ -876,7 +876,7 @@
* 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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 4:46 AM (9 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40113457
Default Alt Text
D31127.id92035.diff (1 KB)
Attached To
Mode
D31127: ffs: remove unused thread argument from ffs_reload()
Attached
Detach File
Event Timeline
Log In to Comment