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
- Lines: 10
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/fs/inode.c
- Orig date:
2004-02-18 05:36:31.000000000 -0800
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)