summaryrefslogtreecommitdiff
path: root/libnetfs/netfs.h
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/netfs.h
parent957e2e91d0d763550f22f177354bc7ffd627ecca (diff)
Bah.
2000-12-30 Marcus Brinkmann <marcus@gnu.org> * netfs.h: Revert doc "fix" of netfs_attempt_chmod.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r--libnetfs/netfs.h7
1 files changed, 5 insertions, 2 deletions
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);