From: Andrew Morton Date: Fri, 28 Sep 2012 00:22:10 +0000 (+1000) Subject: fat-simplify-writeback_inode-checkpatch-fixes X-Git-Tag: next-20121005~1^2~53 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=86110b008459d09ae1fd51bda7f9ba50f6aee6e0;p=karo-tx-linux.git fat-simplify-writeback_inode-checkpatch-fixes WARNING: suspect code indent for conditional statements (8, 15) #34: FILE: fs/fat/inode.c:1466: if (!ret) + ret = filemap_fdatawrite(inode->i_mapping); total: 0 errors, 1 warnings, 23 lines checked ./patches/fat-simplify-writeback_inode.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Amit Sahrawat Cc: Namjae Jeon Cc: OGAWA Hirofumi Signed-off-by: Andrew Morton --- diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 0376816a5c67..2930a6f268b2 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -1470,7 +1470,7 @@ static int writeback_inode(struct inode *inode) */ ret = sync_inode_metadata(inode, 0); if (!ret) - ret = filemap_fdatawrite(inode->i_mapping); + = filemap_fdatawrite(inode->i_mapping); return ret; }