From: Maitesin <oscar.forner.martinez@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Maitesin <violador.de.segmentos@gmail.com>,
Oscar Forner Martinez <oscar.forner.martinez@gmail.com>
Subject: [PATCH] fs: isofs: Fix a coding style issue and change conditional to make it consistence
Date: Mon, 7 Sep 2015 19:08:51 +0100 [thread overview]
Message-ID: <1441649331-14683-1-git-send-email-violador.de.segmentos@gmail.com> (raw)
The coding style issue is the white spaces after and before the brackets in the for. The change in the conditional is to make it consistence with the other ones in the file. All other conditionals are tested like that.
Signed-off-by: Oscar Forner Martinez <oscar.forner.martinez@gmail.com>
---
fs/isofs/compress.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/isofs/compress.c b/fs/isofs/compress.c
index f311bf0..5750830 100644
--- a/fs/isofs/compress.c
+++ b/fs/isofs/compress.c
@@ -66,8 +66,8 @@ static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start,
return 0;
}
/* Empty block? */
- if (block_size == 0) {
- for ( i = 0 ; i < pcount ; i++ ) {
+ if (!block_size) {
+ for (i = 0 ; i < pcount ; i++) {
if (!pages[i])
continue;
memset(page_address(pages[i]), 0, PAGE_CACHE_SIZE);
--
2.5.1
next reply other threads:[~2015-09-07 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 18:08 Maitesin [this message]
2015-09-07 18:42 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441649331-14683-1-git-send-email-violador.de.segmentos@gmail.com \
--to=oscar.forner.martinez@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=violador.de.segmentos@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®