Messages in this thread Patch in this message | | | From | "Alexey Dobriyan" <> | Subject | [PATCH] fs/ext3/acl.c '< 0' comparison make sense only with signed variable. | Date | Tue, 07 Oct 2003 02:16:11 +0400 |
| |
ext3_acl_count() returns int and posix_acl_alloc() wants int as the first argument.
diff -urN a/fs/ext3/acl.c b/fs/ext3/acl.c --- a/fs/ext3/acl.c 2003-09-28 04:50:14.000000000 +0400 +++ b/fs/ext3/acl.c 2003-10-07 00:30:56.000000000 +0400 @@ -20,7 +20,8 @@ ext3_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/
| |