summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-08-16 23:20:59 +0000
committerThomas Bushnell <thomas@gnu.org>1996-08-16 23:20:59 +0000
commitd2c4eddec0bf84b46dd64942bbbed2cae36f3ea4 (patch)
treef485f857defb4011c8c6fc866b6ad93d1816e5b8 /libnetfs
parent0b42682708534ca2e691afbdb252d955f43441f3 (diff)
*** empty log message ***
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/ChangeLog5
-rw-r--r--libnetfs/priv.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog
index cf6933ca..16890291 100644
--- a/libnetfs/ChangeLog
+++ b/libnetfs/ChangeLog
@@ -1,3 +1,8 @@
+Fri Aug 16 19:20:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * priv.h (end_using_protid_port): Only call ports_port_deref if
+ CRED is set.
+
Fri Jul 26 14:34:11 1996 Miles Bader <miles@gnu.ai.mit.edu>
* file-exec.c (netfs_S_file_exec): Unlock NP before we attempt to
diff --git a/libnetfs/priv.h b/libnetfs/priv.h
index eefb8e7f..5afbae7f 100644
--- a/libnetfs/priv.h
+++ b/libnetfs/priv.h
@@ -31,5 +31,6 @@ begin_using_protid_port (file_t port)
extern inline void
end_using_protid_port (struct protid *cred)
{
- ports_port_deref (cred);
+ if (cred)
+ ports_port_deref (cred);
}