aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/netfs.h
diff options
context:
space:
mode:
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);