diff options
author | Alex Elder <elder@dreamhost.com> | 2012-01-24 17:08:36 +0100 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 16:47:46 +0100 |
commit | 2107978668de13da484f7abc3f03516494c7fca9 (patch) | |
tree | 0b3d054845849b221ffed4aad38a3e7449121e79 /fs/ceph | |
parent | ceph: make ceph_setxattr() and ceph_removexattr() more alike (diff) | |
download | linux-2107978668de13da484f7abc3f03516494c7fca9.tar.xz linux-2107978668de13da484f7abc3f03516494c7fca9.zip |
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 'fs/ceph')
0 files changed, 0 insertions, 0 deletions