summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_vfsops.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2008-10-10 21:23:50 +0000
committerattilio <attilio@FreeBSD.org>2008-10-10 21:23:50 +0000
commitb8bf37e5857b138031059dd4768deb4937efe183 (patch)
treefd8b76b514f556d4aec4cdd5d6fd55919f6e33ab /sys/ufs/ffs/ffs_vfsops.c
parent7ce828dea0b330b67ef23488dde94b994adcdcfc (diff)
downloadFreeBSD-src-b8bf37e5857b138031059dd4768deb4937efe183.zip
FreeBSD-src-b8bf37e5857b138031059dd4768deb4937efe183.tar.gz
Remove the struct thread unuseful argument from bufobj interface.
In particular following functions KPI results modified: - bufobj_invalbuf() - bufsync() and BO_SYNC() "virtual method" of the buffer objects set. Main consumers of bufobj functions are affected by this change too and, in particular, functions which changed their KPI are: - vinvalbuf() - g_vfs_close() Due to the KPI breakage, __FreeBSD_version will be bumped in a later commit. As a side note, please consider just temporary the 'curthread' argument passing to VOP_SYNC() (in bufsync()) as it will be axed out ASAP Reviewed by: kib Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 48a3879..483ad33 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -483,7 +483,7 @@ ffs_reload(struct mount *mp, struct thread *td)
*/
devvp = VFSTOUFS(mp)->um_devvp;
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY);
- if (vinvalbuf(devvp, 0, td, 0, 0) != 0)
+ if (vinvalbuf(devvp, 0, 0, 0) != 0)
panic("ffs_reload: dirty1");
VOP_UNLOCK(devvp, 0);
@@ -570,7 +570,7 @@ loop:
MNT_VNODE_FOREACH_ABORT(mp, mvp);
goto loop;
}
- if (vinvalbuf(vp, 0, td, 0, 0))
+ if (vinvalbuf(vp, 0, 0, 0))
panic("ffs_reload: dirty2");
/*
* Step 5: re-read inode data for all active vnodes.
@@ -907,7 +907,7 @@ out:
if (cp != NULL) {
DROP_GIANT();
g_topology_lock();
- g_vfs_close(cp, td);
+ g_vfs_close(cp);
g_topology_unlock();
PICKUP_GIANT();
}
@@ -1098,7 +1098,7 @@ ffs_unmount(mp, mntflags, td)
}
DROP_GIANT();
g_topology_lock();
- g_vfs_close(ump->um_cp, td);
+ g_vfs_close(ump->um_cp);
g_topology_unlock();
PICKUP_GIANT();
vrele(ump->um_devvp);
OpenPOWER on IntegriCloud