summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2000-12-30 22:14:39 +0000
committerMarcus Brinkmann <marcus@gnu.org>2000-12-30 22:14:39 +0000
commitc15084d26c88f75a9648559a44da6cf45325fc22 (patch)
tree03675be5d1e46da3b6db35853b7dcdc8d66ecfad /libnetfs
parent957e2e91d0d763550f22f177354bc7ffd627ecca (diff)
Bah.
2000-12-30 Marcus Brinkmann <marcus@gnu.org> * netfs.h: Revert doc "fix" of netfs_attempt_chmod.
Diffstat (limited to 'libnetfs')
-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);