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

Luc Van Oostenryck luc.vanoostenryck@easynet.be
Fri, 28 Jan 2005 03:33:20 +0100


This is a multi-part message in MIME format.
--------------010207020102000507050201
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


--------------010207020102000507050201
Content-Type: text/plain;
 name="yaffs-2.6-01-get_sb_nodev.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="yaffs-2.6-01-get_sb_nodev.patch"

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 */

--------------010207020102000507050201--