[PATCH 06/42] ufs: Drop pointless invalidate_mapping_buffers() call
Jan Kara <[email protected]> Thu, 26 Mar 2026 10:54:00 +0100
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.file-systems,gmane.linux.block,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
UFS doesn't call mark_buffer_dirty_inode() and thus invalidate_mapping_buffers() never has anything to drop. Remove the pointless call. Signed-off-by: Jan Kara <[email protected]> --- fs/ufs/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index e2b0a35de2a7..77617a31d517 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c @@ -853,7 +853,6 @@ void ufs_evict_inode(struct inode * inode) ufs_update_inode(inode, inode_needs_sync(inode)); } - invalidate_inode_buffers(inode); clear_inode(inode); if (want_delete) -- 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>