aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_bio.c
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2008-10-10 21:23:50 +0000
committerAttilio Rao <attilio@FreeBSD.org>2008-10-10 21:23:50 +0000
commit0d7935fd01df24b2eab5a826fd131cefb9417c79 (patch)
treefd8b76b514f556d4aec4cdd5d6fd55919f6e33ab /sys/nfsclient/nfs_bio.c
parent6b386d393c367e425316e186ac75db5a41521338 (diff)
downloadsrc-0d7935fd01df24b2eab5a826fd131cefb9417c79.tar.gz
src-0d7935fd01df24b2eab5a826fd131cefb9417c79.zip
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>
Notes
Notes: svn path=/head/; revision=183754
Diffstat (limited to 'sys/nfsclient/nfs_bio.c')
-rw-r--r--sys/nfsclient/nfs_bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index 60ccb91e220b..ef863e5c8f28 100644
--- a/sys/nfsclient/nfs_bio.c
+++ b/sys/nfsclient/nfs_bio.c
@@ -1323,11 +1323,11 @@ nfs_vinvalbuf(struct vnode *vp, int flags, struct thread *td, int intrflg)
goto out;
}
- error = vinvalbuf(vp, flags, td, slpflag, 0);
+ error = vinvalbuf(vp, flags, slpflag, 0);
while (error) {
if (intrflg && (error = nfs_sigintr(nmp, NULL, td)))
goto out;
- error = vinvalbuf(vp, flags, td, 0, slptimeo);
+ error = vinvalbuf(vp, flags, 0, slptimeo);
}
mtx_lock(&np->n_mtx);
if (np->n_directio_asyncwr == 0)