diff options
author | Alex Elder <elder@dreamhost.com> | 2012-01-24 10:08:36 -0600 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 10:47:46 -0500 |
commit | 2107978668de13da484f7abc3f03516494c7fca9 (patch) | |
tree | 0b3d054845849b221ffed4aad38a3e7449121e79 /samples/Kconfig | |
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>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions