]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests and tools/scratchtool: Don't attempt to use NULL xattr 6779/head
authorDan Mick <dan.mick@redhat.com>
Tue, 1 Dec 2015 22:38:48 +0000 (14:38 -0800)
committerDan Mick <dan.mick@redhat.com>
Tue, 1 Dec 2015 22:38:48 +0000 (14:38 -0800)
commit708ec2b8142719fd8826e5265b65303a9d8339ad
tree89f4b1ef26cd4173e94897dbefca3fc4a704c38f
parent4ec0def94cfcf9f223de0560605a00b2a6eb5830
tests and tools/scratchtool: Don't attempt to use NULL xattr

Prior commit changes rados{striper}_getxattrs_next to be able to return
NULL in the 'val' param.  Handle that.

Fixes: #13944
Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/test/librados/c_read_operations.cc
src/test/librados/io.cc
src/test/libradosstriper/io.cc
src/tools/scratchtool.c