* [PATCH] btrfs: fixed a braces code style issue
@ 2011-02-15 23:35 Tim Peters
0 siblings, 0 replies; only message in thread
From: Tim Peters @ 2011-02-15 23:35 UTC (permalink / raw)
To: Chris Mason; +Cc: linux-btrfs, linux-kernel
i fixed a braces code style issue on inode.c
Signed-off-by: Tim Peters <mail@darksecond.nl>
---
fs/btrfs/inode.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index fb9bd78..46125c3 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -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) {
/*
--
1.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-15 23:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15 23:35 [PATCH] btrfs: fixed a braces code style issue Tim Peters
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).