diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 19:23:43 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 19:23:43 +0000 |
commit | b4ca0e6c92a56540d18ee5229b74e762fcc87f72 (patch) | |
tree | 9b62e024a4ced054630171a86fd4102548ab1b2d /libdiskfs | |
parent | bb9d505f80cff9165989824780cd9e15944b079d (diff) |
Doc fixes.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/diskfs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h index c97e4880..084c680a 100644 --- a/libdiskfs/diskfs.h +++ b/libdiskfs/diskfs.h @@ -409,8 +409,10 @@ void diskfs_new_hardrefs (struct node *np); the directory, then this routine should fail). */ int diskfs_dirempty (struct node *dp, struct protid *cred); -/* The user may define this function. Return 0 if NP's mode can - be changed to MODE; otherwise return an error code. */ +/* The user may define this function. Return 0 if NP's mode can be + changed to MODE; otherwise return an error code. It must always be + possible to clear the mode; diskfs will not ask for permission + before doing so. */ error_t diskfs_validate_mode_change (struct node *np, mode_t mode); /* The user may define this function. Return 0 if NP's owner can be @@ -426,7 +428,8 @@ error_t diskfs_validate_group_change (struct node *np, gid_t gid); error_t diskfs_validate_author_change (struct node *np, uid_t author); /* The user may define this function. Return 0 if NP's flags can be - changed to FLAGS; otherwise return an error code. */ + changed to FLAGS; otherwise return an error code. It must always + be possible to clear the flags. */ error_t diskfs_validate_flags_change (struct node *np, int flags); /* The user may define this function. Return 0 if NP's rdev can be |