diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-04-02 14:15:49 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-04-02 14:15:49 +0000 |
commit | 219931ab8c0863311aa7f1970df1e26914a58365 (patch) | |
tree | af750c9c54d0b1ba19633638b3a173eafc24ba98 /libnetfs | |
parent | 22cc19e584c583c9e77ec139ba264f02648fe15d (diff) |
(netfs_report_access): Doc fix.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/netfs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index b2384976..5bcd2bfc 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -232,9 +232,11 @@ error_t netfs_attempt_read (struct netcred *cred, struct node *np, error_t netfs_attempt_write (struct netcred *cred, struct node *np, off_t offset, size_t *len, void *data); -/* The user must define this function. Return the valid access types - (bitwise OR of O_READ, O_WRITE, and O_EXEC) in *TYPES for file NP - and user CRED. */ +/* The user must define this function. On entry, *TYPES identifies + the sorts of access which should be check. Return the valid access + types (bitwise OR of O_READ, O_WRITE, and O_EXEC) in *TYPES for + file NP and user CRED. (In other words, this routine should only + turn off bits. */ void netfs_report_access (struct netcred *cred, struct node *np, int *types); |