]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fat-simplify-writeback_inode-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 13 Sep 2012 01:01:25 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:29 +0000 (15:30 +1000)
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 <amit.sahrawat83@gmail.com>
Cc: Namjae Jeon <linkinjeon@gmail.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fat/inode.c

index c7531b298b3fc4bc4a5aac157ee496bbb07858d0..008ea94f0b9ffe0ddc1f1cb50fb2d3ea2db25d2c 100644 (file)
@@ -1464,7 +1464,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;
 }