[PATCH] reiserfs/xattr_acl.c:reiserfs_get_acl(): make size an int
authorAdrian Bunk <bunk@stusta.de>
Sat, 25 Mar 2006 11:07:50 +0000 (03:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:57 +0000 (08:22 -0800)
commit3cdc409c169c9f2155151eea82cb9868e4d62788
treefa617074b227809333bc6443957c5e01d0c4a82d
parent340e48e662dc9bf79cdd9dc755cb2eb2bad580cd
[PATCH] reiserfs/xattr_acl.c:reiserfs_get_acl(): make size an int

The Coverity checker wasn't happy seeing a size_t compared with -ENODATA
and -ENOSYS.

Since the only place where size is set is through the result of
reiserfs_xattr_get() which is an int, we could simply make size an int.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <mason@suse.com>
Cc: Hans Reiser <reiser@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/xattr_acl.c