Revert "vfs: fix race between evice_inodes() and find_inode()&iput()"
This reverts commit 3b9c45c479
.
This commit is contained in:
parent
831814b413
commit
075c794bc1
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue