• Alex Elder's avatar
    rbd: a few small cleanups · 21079786
    Alex Elder authored
    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: default avatarAlex Elder <elder@dreamhost.com>
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    21079786
rbd.c 53.6 KB