Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1221603 > unrolled thread
| Started by | Maitesin <oscar.forner.martinez@gmail.com> |
|---|---|
| First post | 2015-09-09 20:10 +0200 |
| Last post | 2015-09-09 20:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/2] fs: isofs: Fix a coding style issue and change conditional to make it consistence Maitesin <oscar.forner.martinez@gmail.com> - 2015-09-09 20:10 +0200
| From | Maitesin <oscar.forner.martinez@gmail.com> |
|---|---|
| Date | 2015-09-09 20:10 +0200 |
| Subject | [PATCH 1/2] fs: isofs: Fix a coding style issue and change conditional to make it consistence |
| Message-ID | <q6RYK-2ez-23@gated-at.bofh.it> |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web