]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fat-simplify-writeback_inode-checkpatch-fixes-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:22:10 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:37 +0000 (14:01 +1000)
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 2930a6f268b217c2d1aebebd29311054c8c490da..76f60c642c06399b1bf8696ff515be9a99ffc922 100644 (file)
@@ -1470,7 +1470,7 @@ static int writeback_inode(struct inode *inode)
        */
        ret = sync_inode_metadata(inode, 0);
        if (!ret)
-               = filemap_fdatawrite(inode->i_mapping);
+               ret = filemap_fdatawrite(inode->i_mapping);
        return ret;
 }