]> git.karo-electronics.de Git - linux-beck.git/commit
rbd: a few small cleanups
authorAlex Elder <elder@dreamhost.com>
Tue, 24 Jan 2012 16:08:36 +0000 (10:08 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:46 +0000 (10:47 -0500)
commit2107978668de13da484f7abc3f03516494c7fca9
tree0b3d054845849b221ffed4aad38a3e7449121e79
parent18fa8b3feaac772925263b04b1429d80e2dfd779
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>
drivers/block/rbd.c