diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-09-18 18:37:52 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-09-18 18:37:52 +0000 |
| commit | 976a26437e3495e47504cff2488058afb75c57c9 (patch) | |
| tree | 3c3649632812827c2e00c62db8ba34372fa7f696 | |
| parent | a953848c0476b391b812d813aaf1f31e25e52a3b (diff) | |
Notes
| -rw-r--r-- | sys/nfs/nfs_bio.c | 2 | ||||
| -rw-r--r-- | sys/nfsclient/nfs_bio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index e48cd5c4b5c25..fa7274d3433d0 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -1335,7 +1335,7 @@ again: error = tsleep(&nmp->nm_bufq, slpflag | PRIBIO, "nfsaio", slptimeo); if (error) { - if (nfs_sigintr(nmp, NULL, td->td_proc)) + if (nfs_sigintr(nmp, NULL, td ? td->td_proc : NULL)) return (EINTR); if (slpflag == PCATCH) { slpflag = 0; diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index e48cd5c4b5c25..fa7274d3433d0 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -1335,7 +1335,7 @@ again: error = tsleep(&nmp->nm_bufq, slpflag | PRIBIO, "nfsaio", slptimeo); if (error) { - if (nfs_sigintr(nmp, NULL, td->td_proc)) + if (nfs_sigintr(nmp, NULL, td ? td->td_proc : NULL)) return (EINTR); if (slpflag == PCATCH) { slpflag = 0; |
