aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/fat/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 4613cb202170..78945b53b0f8 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -1472,7 +1472,7 @@ int fat_flush_inodes(struct super_block *sb, struct inode *i1, struct inode *i2)
1472 ret = writeback_inode(i1); 1472 ret = writeback_inode(i1);
1473 if (!ret && i2) 1473 if (!ret && i2)
1474 ret = writeback_inode(i2); 1474 ret = writeback_inode(i2);
1475 if (!ret && sb) { 1475 if (!ret) {
1476 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; 1476 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping;
1477 ret = filemap_flush(mapping); 1477 ret = filemap_flush(mapping);
1478 } 1478 }