patch-2.4.0-test6 linux/fs/block_dev.c

Next file: linux/fs/buffer.c
Previous file: linux/fs/binfmt_script.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/fs/block_dev.c linux/fs/block_dev.c
@@ -582,6 +582,8 @@
 		/*
 		 * This crockload is due to bad choice of ->open() type.
 		 * It will go away.
+		 * For now, block device ->open() routine must _not_
+		 * examine anything in 'inode' argument except ->i_rdev.
 		 */
 		struct file fake_file = {};
 		struct dentry fake_dentry = {};

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