summaryrefslogtreecommitdiffstats
path: root/Documentation/atomic_ops.txt
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-29 13:57:44 -0600
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:48 -0500
commitf0f8cef5a30504eaeba5588a9115b46c824d91a3 (patch)
treefa7e9d2a8dfb9e15ab85bf92420527deea0bd3ef /Documentation/atomic_ops.txt
parent432b858749631dc011ac919dace4b0705ba8cecf (diff)
downloadtalos-op-linux-f0f8cef5a30504eaeba5588a9115b46c824d91a3.tar.gz
talos-op-linux-f0f8cef5a30504eaeba5588a9115b46c824d91a3.zip
rbd: a few simple changes
Here are a few very simple cleanups: - Add a "RBD_" prefix to the two driver name string definitions. - Move the definition of struct rbd_request below struct rbd_req_coll to avoid the need for an empty declaration of the latter. - Move and group the definitions of rbd_root_dev_release() and rbd_root_dev, as well as rbd_bus_type and rbd_bus_attrs[], close to the top of the file. Arrange the latter so rbd_bus_type.bus_attrs can be initialized statically. - Get rid of an unnecessary local variable in rbd_open(). - Rework some hokey logic in rbd_bus_add_dev(), so the value of "ret" at the end is either 0 or -ENOENT to avoid the need for the code duplication that was there. - Rename a goto target in rbd_add(). Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'Documentation/atomic_ops.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud