Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132617006
D26533.id77446.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
733 B
Referenced Files
None
Subscribers
None
D26533.id77446.diff
View Options
Index: sys/kern/subr_acl_nfs4.c
===================================================================
--- sys/kern/subr_acl_nfs4.c
+++ sys/kern/subr_acl_nfs4.c
@@ -342,9 +342,9 @@
}
static struct acl_entry *
-_acl_duplicate_entry(struct acl *aclp, int entry_index)
+_acl_duplicate_entry(struct acl *aclp, unsigned entry_index)
{
- int i;
+ unsigned i;
KASSERT(aclp->acl_cnt + 1 <= ACL_MAX_ENTRIES,
("aclp->acl_cnt + 1 <= ACL_MAX_ENTRIES"));
@@ -361,7 +361,8 @@
acl_nfs4_sync_acl_from_mode_draft(struct acl *aclp, mode_t mode,
int file_owner_id)
{
- int i, meets, must_append;
+ int meets, must_append;
+ unsigned i;
struct acl_entry *entry, *copy, *previous,
*a1, *a2, *a3, *a4, *a5, *a6;
mode_t amode;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 19, 11:28 AM (7 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23923307
Default Alt Text
D26533.id77446.diff (733 B)
Attached To
Mode
D26533: Fix some signed/unsigned comparison warnings in NFS
Attached
Detach File
Event Timeline
Log In to Comment