patch-2.4.26 linux-2.4.26/fs/inode.c

Next file: linux-2.4.26/fs/isofs/rock.c
Previous file: linux-2.4.26/fs/hfsplus/wrapper.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/fs/inode.c linux-2.4.26/fs/inode.c
@@ -319,7 +319,8 @@
 	if (!inode)
 		return;
 	spin_lock(&inode_lock);
-	__refile_inode(inode);
+	if (!(inode->i_state & I_LOCK))
+		__refile_inode(inode);
 	spin_unlock(&inode_lock);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)