evict() writes out what I_METADATA_WRITEBACK tracks before it calls ->evict_inode() and since mmb_mark_buffer_dirty() sets the bit that includes the tracked metadata buffers. So there's nothing left for fat_evict_inode() to sync. The write-out happens before fat_free_eofblocks() updates the directory entry again, so that update stays as asynchronous as it is now. Signed-off-by: Christian Brauner (Amutable) --- fs/fat/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index d85c8fbdcca4..243b18949164 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -693,7 +693,6 @@ static void fat_evict_inode(struct inode *inode) inode->i_size = 0; fat_truncate_blocks(inode, 0); } else { - mmb_sync(&MSDOS_I(inode)->i_metadata_bhs); fat_free_eofblocks(inode); } -- 2.53.0