Skip to contentSkip to conversation

btrfs: fixed a braces code style issue

PATCH New Tim Peters 1 participant 1 message Feb 15, 2011 Btrfs file system

lore
Share & tools
lore

Tim Peters

author
#0 lore raw

PATCH 1/1 btrfs: fixed a braces code style issue

i fixed a braces code style issue on inode.c

---
 fs/btrfs/inode.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
fs/btrfs/inode.c +2 -3
index fb9bd78..46125c3 100644
@@ -467,11 +467,10 @@ again:
 		 */
 		total_in = (total_in + PAGE_CACHE_SIZE - 1) &
 			~(PAGE_CACHE_SIZE - 1);
-		if (total_compressed >= total_in) {
+		if (total_compressed >= total_in)
 			will_compress = 0;
-		} else {
+		else
 			num_bytes = total_in;
-		}
 	}
 	if (!will_compress && pages) {
 		/*
Signature · 1 line
1.7.4