diff options
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); |