lkml.org 
[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs/ext3/acl.c '< 0' comparison make sense only with signed variable.
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.031 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site