[Yaffs] [PATCH] linux-2.6-02-kill_anon_super

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


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


--------------090308070808030204030408
Content-Type: text/plain;
 name="yaffs-2.6-02-kill_anon_super.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="yaffs-2.6-02-kill_anon_super.patch"

diff -Nurp y2/fs/yaffs/yaffs_fs.c y3/fs/yaffs/yaffs_fs.c
--- y2/fs/yaffs/yaffs_fs.c	Fri Jan 28 02:42:34 2005
+++ y3/fs/yaffs/yaffs_fs.c	Fri Jan 28 02:43:17 2005
@@ -1546,8 +1546,7 @@ static struct file_system_type yaffs_ram
 	.owner		= THIS_MODULE,
 	.name		= "yaffsram",
 	.get_sb		= yaffs_ram_read_super,
-	.kill_sb	= kill_block_super,
-//	.kill_sb	= kill_litter_super,
+	.kill_sb	= kill_anon_super,
 };
 #else
 static struct super_block *yaffs_ram_read_super(struct super_block * sb, void * data, int silent)

--------------090308070808030204030408--