Messages in this thread Patch in this message | | | From | "Alexey Dobriyan" <> | Subject | [PATCH] fs/ext2/acl.c '< 0' comparison make sense only with signed variable. | Date | Tue, 07 Oct 2003 02:14:08 +0400 |
| |
ext2_acl_count() returns int and posix_acl_alloc() wants int as the first argument.
diff -urN a/fs/ext2/acl.c b/fs/ext2/acl.c --- a/fs/ext2/acl.c 2003-09-28 04:50:40.000000000 +0400 +++ b/fs/ext2/acl.c 2003-10-07 00:29:10.000000000 +0400 @@ -19,7 +19,8 @@ ext2_acl_from_disk(const void *value, size_t size) { const char *end = (char *)value + size; - size_t n, count; + size_t n; + int count; struct posix_acl *acl; if (!value) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |