commit | 2107978668de13da484f7abc3f03516494c7fca9 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@dreamhost.com> | Tue Jan 24 10:08:36 2012 -0600 |
committer | Alex Elder <elder@dreamhost.com> | Thu Mar 22 10:47:46 2012 -0500 |
tree | 0b3d054845849b221ffed4aad38a3e7449121e79 | |
parent | 18fa8b3feaac772925263b04b1429d80e2dfd779 [diff] |
rbd: a few small cleanups Some minor cleanups in "drivers/block/rbd.c: - Use the more meaningful "RBD_MAX_OBJ_NAME_LEN" in place if "96" in the definition of RBD_MAX_MD_NAME_LEN. - Use DEFINE_SPINLOCK() to define and initialize node_lock. - Drop a needless (char *) cast in parse_rbd_opts_token(). - Make a few minor formatting changes. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>