Revert "vfs: fix race between evice_inodes() and find_inode()&iput()"

This reverts commit 3b9c45c479.
This commit is contained in:
Ksawlii 2024-11-24 00:23:15 +01:00
parent 831814b413
commit 075c794bc1

View file

@ -670,10 +670,6 @@ again:
continue; continue;
spin_lock(&inode->i_lock); 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)) { if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) {
spin_unlock(&inode->i_lock); spin_unlock(&inode->i_lock);
continue; continue;