From 075c794bc14bcdb9986d93c1963e2a586ce899ce Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:15 +0100 Subject: [PATCH] Revert "vfs: fix race between evice_inodes() and find_inode()&iput()" This reverts commit 3b9c45c479a8b9250544c9f680823222209bf446. --- fs/inode.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/inode.c b/fs/inode.c index 45ecc3fd9..e3eab6809 100755 --- a/fs/inode.c +++ b/fs/inode.c @@ -670,10 +670,6 @@ again: continue; spin_lock(&inode->i_lock); - if (atomic_read(&inode->i_count)) { - spin_unlock(&inode->i_lock); - continue; - } if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { spin_unlock(&inode->i_lock); continue;