[Yaffs] [PATCH] linux-2.6-01-get_sb_nodev

Top Page
Attachments:
Message as email
+ (text/plain)
+ yaffs-2.6-01-get_sb_nodev.patch (text/plain)
Delete this message
Reply to this message
Author: Luc Van Oostenryck
Date:  
To: yaffs
Subject: [Yaffs] [PATCH] linux-2.6-01-get_sb_nodev
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 */