diff options
-rw-r--r-- | libnetfs/netfs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index 5bcd2bfc..0a16d5b2 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -232,11 +232,9 @@ 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. On entry, *TYPES identifies - the sorts of access which should be check. Return the valid access +/* 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. (In other words, this routine should only - turn off bits. */ + file NP and user CRED. */ void netfs_report_access (struct netcred *cred, struct node *np, int *types); |