From 97a6f04270d14e570225b6e17134c79ed8796903 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 6 Jul 2004 09:12:03 +0000 Subject: NFS mobility PHASE I, II & III (phase VI, and V pending): Rebind the client socket when we experience a timeout. This fixes the case where our IP changes for some reason. Signal a VFS event when NFS transitions from up to down and vice versa. Add a placeholder vfs_sysctl where we will put status reporting shortly. Also: Make down NFS mounts return EIO instead of EINTR when there is a soft timeout or force unmount in progress. --- sys/kern/vfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/vfs_subr.c') diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index b04ec4b..1c7a7fb 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -3959,7 +3959,7 @@ vop_unlock_post(void *ap, int rc) static struct klist fs_klist = SLIST_HEAD_INITIALIZER(&fs_klist); void -vfs_event_signal(fsid_t *fsid, u_int32_t event, void *data __unused) +vfs_event_signal(fsid_t *fsid, u_int32_t event, intptr_t data __unused) { KNOTE(&fs_klist, event); -- cgit v1.1