]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fat-simplify-writeback_inode-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:22:10 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:50:57 +0000 (16:50 +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 0376816a5c671c3d87af96fb8e9e5c301f5cd670..2930a6f268b217c2d1aebebd29311054c8c490da 100644 (file)
@@ -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;
 }