From: Alex Elder Date: Tue, 24 Jan 2012 16:08:36 +0000 (-0600) Subject: rbd: make ceph_parse_options() return a pointer X-Git-Tag: v3.4-rc1~76^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee57741c5209154b8ef124bcaa2496da1b69a988;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed