summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 19:48:21 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 19:48:21 +0000
commita7ce7d5e94c98ef5b867f61b2ebecd563f4b6ec9 (patch)
treef3dc5381e660de7685258f75d16c381c4c47694a /fs
parent57445428488a2862840c4d7c96d7746c11031aaf (diff)
Merge with Linux 2.4.0-test6-pre7.
Diffstat (limited to 'fs')
-rw-r--r--fs/block_dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 02a2b2758..7546705fa 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -582,6 +582,8 @@ int blkdev_get(struct block_device *bdev, mode_t mode, unsigned flags, int kind)
/*
* 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 = {};