diff -Nurp y1/fs/yaffs/yaffs_fs.c y2/fs/yaffs/yaffs_fs.c
--- y1/fs/yaffs/yaffs_fs.c Fri Jan 28 02:39:58 2005
+++ y2/fs/yaffs/yaffs_fs.c Fri Jan 28 02:42:34 2005
@@ -1537,7 +1537,7 @@ static DECLARE_FSTYPE(yaffs_fs_type, "ya
static struct super_block *yaffs_ram_read_super(struct file_system_type * fs, int flags, const char *dev_name, void *data)
{
- return get_sb_bdev(fs, flags, dev_name, data, yaffs_internal_read_super_ram);
+ return get_sb_nodev(fs, flags, data, yaffs_internal_read_super_ram);
}
/* changes NCB 2.5.70 */