From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752109AbbIGSJA (ORCPT ); Mon, 7 Sep 2015 14:09:00 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:33593 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873AbbIGSI6 (ORCPT ); Mon, 7 Sep 2015 14:08:58 -0400 From: Maitesin X-Google-Original-From: Maitesin To: linux-kernel@vger.kernel.org Cc: Maitesin , Oscar Forner Martinez 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 Message-Id: <1441649331-14683-1-git-send-email-violador.de.segmentos@gmail.com> X-Mailer: git-send-email 2.5.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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