From 88f1a4e728be2a2c9b02e83a15bf47388272011b Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Sat, 25 Mar 2006 03:07:50 -0800 Subject: [PATCH] --- yaml --- r: 23577 b: refs/heads/master c: 3cdc409c169c9f2155151eea82cb9868e4d62788 h: refs/heads/master i: 23575: c6f380562018906c1be8b3ac15eeb287c3059d92 v: v3 --- [refs] | 2 +- trunk/fs/reiserfs/xattr_acl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 89ec743b77c6..5512a27454b8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 340e48e662dc9bf79cdd9dc755cb2eb2bad580cd +refs/heads/master: 3cdc409c169c9f2155151eea82cb9868e4d62788 diff --git a/trunk/fs/reiserfs/xattr_acl.c b/trunk/fs/reiserfs/xattr_acl.c index ab8894c3b9e5..58c418fbca2c 100644 --- a/trunk/fs/reiserfs/xattr_acl.c +++ b/trunk/fs/reiserfs/xattr_acl.c @@ -182,7 +182,7 @@ struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) { char *name, *value; struct posix_acl *acl, **p_acl; - size_t size; + int size; int retval; struct reiserfs_inode_info *reiserfs_i = REISERFS_I(inode); @@ -206,7 +206,7 @@ struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) return posix_acl_dup(*p_acl); size = reiserfs_xattr_get(inode, name, NULL, 0); - if ((int)size < 0) { + if (size < 0) { if (size == -ENODATA || size == -ENOSYS) { *p_acl = ERR_PTR(-ENODATA); return NULL;