summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/xattr_acl.c
diff options
context:
space:
mode:
authorJames Lamanna2005-10-31 00:00:16 +0100
committerLinus Torvalds2005-10-31 02:37:17 +0100
commit833d304b22edff5cc687ab7e5549c2f0dcdd951a (patch)
tree5413fd045ec7ff1de8956964911ace74931c4a7c /fs/reiserfs/xattr_acl.c
parent[PATCH] ext3: Fix unmapped buffers in transaction's lists (diff)
downloadkernel-qcow2-linux-833d304b22edff5cc687ab7e5549c2f0dcdd951a.tar.gz
kernel-qcow2-linux-833d304b22edff5cc687ab7e5549c2f0dcdd951a.tar.xz
kernel-qcow2-linux-833d304b22edff5cc687ab7e5549c2f0dcdd951a.zip
[PATCH] reiserfs: [kv]free() checking cleanup
Signed-off-by: James Lamanna <jlamanna@gmail.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs/xattr_acl.c')
-rw-r--r--fs/reiserfs/xattr_acl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/reiserfs/xattr_acl.c b/fs/reiserfs/xattr_acl.c
index 6703efa3c430..a47ac9aac8b2 100644
--- a/fs/reiserfs/xattr_acl.c
+++ b/fs/reiserfs/xattr_acl.c
@@ -296,8 +296,7 @@ reiserfs_set_acl(struct inode *inode, int type, struct posix_acl *acl)
}
}
- if (value)
- kfree(value);
+ kfree(value);
if (!error) {
/* Release the old one */