summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-24 20:08:36 +0400
committerAlex Elder <elder@dreamhost.com>2012-03-22 19:47:47 +0400
commitee57741c5209154b8ef124bcaa2496da1b69a988 (patch)
tree248a6e7bf259bb849f885f1ff4a82be74ab4913b /virt/kvm
parent2107978668de13da484f7abc3f03516494c7fca9 (diff)
downloadlinux-ee57741c5209154b8ef124bcaa2496da1b69a988.tar.xz
rbd: make ceph_parse_options() return a pointer
ceph_parse_options() takes the address of a pointer as an argument and uses it to return the address of an allocated structure if successful. With this interface is not evident at call sites that the pointer is always initialized. Change the interface to return the address instead (or a pointer-coded error code) to make the validity of the returned pointer obvious. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions