ceph: whitespace cleanup

Previous thread: ceph: allow preferred osd to be get/set via layout ioctl by Linux Kernel Mailing List on Friday, March 19, 2010 - 10:00 am. (1 message)

Next thread: ceph: change dentry offset and position after splice_dentry by Linux Kernel Mailing List on Friday, March 19, 2010 - 10:00 am. (1 message)
From: Linux Kernel Mailing List
Date: Friday, March 19, 2010 - 10:00 am

Gitweb:     http://git.kernel.org/linus/50b885b96c903e420a1eac54dd27626244704a06
Commit:     50b885b96c903e420a1eac54dd27626244704a06
Parent:     34b43a56b9b103a7a820032177131532d9dbdbe8
Author:     Sage Weil <sage@newdream.net>
AuthorDate: Tue Dec 1 14:12:07 2009 -0800
Committer:  Sage Weil <sage@newdream.net>
CommitDate: Thu Dec 3 14:59:44 2009 -0800

    ceph: whitespace cleanup
    
    Signed-off-by: Sage Weil <sage@newdream.net>
---
 fs/ceph/caps.c         |    2 +-
 fs/ceph/ceph_hash.c    |    8 ++++----
 fs/ceph/crush/mapper.c |    2 +-
 fs/ceph/mon_client.c   |    2 +-
 fs/ceph/osd_client.c   |    4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 9dd1106..9b9ce14 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -1316,7 +1316,7 @@ static int __mark_caps_flushing(struct inode *inode,
 	struct ceph_mds_client *mdsc = &ceph_client(inode->i_sb)->mdsc;
 	struct ceph_inode_info *ci = ceph_inode(inode);
 	int flushing;
-	
+
 	BUG_ON(ci->i_dirty_caps == 0);
 	BUG_ON(list_empty(&ci->i_dirty_item));
 
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_rjenkins(const char *str, unsigned length)
  */
 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 @@ unsigned ceph_str_hash(int type, const char *s, unsigned len)
 	}
 }
 
-const char *ceph_str_hash_name(int type) 
+const char *ceph_str_hash_name(int type)
 {
 	switch (type) {
 	case CEPH_STR_HASH_LINUX:
diff --git a/fs/ceph/crush/mapper.c b/fs/ceph/crush/mapper.c
index 2523d44..9ba54ef 100644
--- a/fs/ceph/crush/mapper.c
+++ ...
Previous thread: ceph: allow preferred osd to be get/set via layout ioctl by Linux Kernel Mailing List on Friday, March 19, 2010 - 10:00 am. (1 message)

Next thread: ceph: change dentry offset and position after splice_dentry by Linux Kernel Mailing List on Friday, March 19, 2010 - 10:00 am. (1 message)