From 1df3bfa6ed0035ee318d311e9514289590ee122c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 7 Sep 2012 10:25:03 +1000 Subject: [PATCH] fat-simplify-writeback_inode-checkpatch-fixes-fix Cc: Amit Sahrawat Cc: Namjae Jeon Cc: OGAWA Hirofumi Signed-off-by: Andrew Morton --- fs/fat/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 008ea94f0b9f..056297d794c3 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -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; } -- 2.39.5