]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fat-simplify-writeback_inode-checkpatch-fixes-fix
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)
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 008ea94f0b9ffe0ddc1f1cb50fb2d3ea2db25d2c..056297d794c37ebbc63b2b32fffb48479a76eb5f 100644 (file)
@@ -1464,7 +1464,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;
 }