diff options
author | James Lamanna <jlamanna@gmail.com> | 2005-10-31 00:00:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 02:37:17 +0100 |
commit | 833d304b22edff5cc687ab7e5549c2f0dcdd951a (patch) | |
tree | 5413fd045ec7ff1de8956964911ace74931c4a7c /fs/reiserfs/xattr_acl.c | |
parent | [PATCH] ext3: Fix unmapped buffers in transaction's lists (diff) | |
download | linux-833d304b22edff5cc687ab7e5549c2f0dcdd951a.tar.xz 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.c | 3 |
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 */ |