]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ceph: remove redundant memset(0)
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 25 Jul 2014 08:44:58 +0000 (12:44 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 28 Jul 2014 09:28:33 +0000 (13:28 +0400)
commit1a295bd8c854de221813d0ba0848031a8985b869
tree652ad3aed1d29f177e01ad4f30da9ac71e83739e
parent4d9b67cddd9b9bc320473a334cc8023a4186092f
ceph: remove redundant memset(0)

xattrs array of pointers is allocated with kcalloc() - no need to
memset() it to 0 right after that.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
fs/ceph/xattr.c