diff options
author | James Lamanna <jlamanna@gmail.com> | 2005-10-30 15:00:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 17:37:17 -0800 |
commit | 833d304b22edff5cc687ab7e5549c2f0dcdd951a (patch) | |
tree | 5413fd045ec7ff1de8956964911ace74931c4a7c /fs/reiserfs/xattr_acl.c | |
parent | aaa4059bc2dca7fa816624a28db1958c3a22df9b (diff) | |
download | blackbird-op-linux-833d304b22edff5cc687ab7e5549c2f0dcdd951a.tar.gz blackbird-op-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 */ |