[PATCH 19/32] ntfs3: Drop pointless sync_mapping_buffers() call
Jan Kara <[email protected]> Tue, 3 Mar 2026 11:34:08 +0100
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.file-systems,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
ntfs3 never calls mark_buffer_dirty_inode() and thus its metadata buffers list is always empty. Drop the pointless sync_mapping_buffers() call. CC: Konstantin Komarov <[email protected]> CC: [email protected] Signed-off-by: Jan Kara <[email protected]> --- fs/ntfs3/file.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/ntfs3/file.c b/fs/ntfs3/file.c index 7eecf1e01f74..570c92fa7ee7 100644 --- a/fs/ntfs3/file.c +++ b/fs/ntfs3/file.c @@ -387,9 +387,6 @@ static int ntfs_extend(struct inode *inode, loff_t pos, size_t count, int err2; err = filemap_fdatawrite_range(mapping, pos, end - 1); - err2 = sync_mapping_buffers(mapping); - if (!err) - err = err2; err2 = write_inode_now(inode, 1); if (!err) err = err2; -- 2.51.0 -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>