patch-2.1.81 linux/fs/dcache.c

Next file: linux/fs/fat/buffer.c
Previous file: linux/drivers/sound/soundcard.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/fs/dcache.c linux/fs/dcache.c
@@ -68,6 +68,7 @@
 	if (inode) {
 		dentry->d_inode = NULL;
 		list_del(&dentry->d_alias);
+		INIT_LIST_HEAD(&dentry->d_alias);
 		if (dentry->d_op && dentry->d_op->d_iput)
 			dentry->d_op->d_iput(dentry, inode);
 		else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov