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