summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/ChangeLog4
-rw-r--r--libnetfs/netfs.h7
2 files changed, 9 insertions, 2 deletions
diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog
index dd71047e..5b6e3656 100644
--- a/libnetfs/ChangeLog
+++ b/libnetfs/ChangeLog
@@ -1,5 +1,9 @@
2000-12-30 Marcus Brinkmann <marcus@gnu.org>
+ * netfs.h: Revert doc "fix" of netfs_attempt_chmod.
+
+2000-12-30 Marcus Brinkmann <marcus@gnu.org>
+
* netfs.h: Merge Neals words into documentation of netfs_nput,
netfs_nrele, netfs_nref.
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h
index 013ea859..ea06cea4 100644
--- a/libnetfs/netfs.h
+++ b/libnetfs/netfs.h
@@ -111,8 +111,11 @@ error_t netfs_attempt_chauthor (struct iouser *cred, struct node *np,
uid_t author);
/* The user must define this function. This should attempt a chmod
- call for the user specified by CRED on locked node NP, thereby
- changing the mode to MODE. */
+ call for the user specified by CRED on locked node NODE, to change
+ the mode to MODE. Unlike the normal Unix and Hurd meaning of
+ chmod, this function is also used to attempt to change files into
+ other types. If such a transition is attempted which is
+ impossible, then return EOPNOTSUPP. */
error_t netfs_attempt_chmod (struct iouser *cred, struct node *np,
mode_t mode);