ceph: whitespace cleanup
Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/ceph_hash.c b/fs/ceph/ceph_hash.c
index 1c44e43..bd57001 100644
--- a/fs/ceph/ceph_hash.c
+++ b/fs/ceph/ceph_hash.c
@@ -82,14 +82,14 @@
*/
unsigned ceph_str_hash_linux(const char *str, unsigned length)
{
- unsigned long hash = 0;
+ unsigned long hash = 0;
unsigned char c;
- while (length--) {
+ while (length--) {
c = *str++;
hash = (hash + (c << 4) + (c >> 4)) * 11;
}
- return hash;
+ return hash;
}
@@ -105,7 +105,7 @@
}
}
-const char *ceph_str_hash_name(int type)
+const char *ceph_str_hash_name(int type)
{
switch (type) {
case CEPH_STR_HASH_LINUX: