[PATCH 06/41] ufs: Drop pointless invalidate_mapping_buffers() call

Jan Kara
2026-03-20T13:42:13Z

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 <jack@suse.cz>
---
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