Re: 2.6.16-rc6-mm2: reiser4 BUG when unmounting fs
From: Laurent Riffard
Date: Wed Mar 22 2006 - 13:36:09 EST
Le 22.03.2006 08:43, Vladimir V. Saveliev a Ãcrit :
> Hello
> On Tue, 2006-03-21 at 21:38 +0100, Laurent Riffard wrote:
>>Le 21.03.2006 21:27, Laurent Riffard a Ãcrit :
>>
>>>Le 18.03.2006 13:40, Andrew Morton a Ãcrit :
>>>>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc6/2.6.16-rc6-mm2/
>>>
>>>Hello,
>>>
>>>This BUG is 100% reproducible. Simply boot to runlevel 1 and then
>>>unmount a reiser4 fs:
>>
>
> The attached patch fixes the problem.
Ok, it works fine now.
Thanks.
> ------------------------------------------------------------------------
>
> fs/reiser4/page_cache.c | 4 ----
> 1 files changed, 4 deletions(-)
>
> diff -puN fs/reiser4/page_cache.c~reiser4-fix-bd_inode fs/reiser4/page_cache.c
> --- linux-2.6.16-rc6-mm2/fs/reiser4/page_cache.c~reiser4-fix-bd_inode 2006-03-21 06:42:42.000000000 +0300
> +++ linux-2.6.16-rc6-mm2-vs/fs/reiser4/page_cache.c 2006-03-21 07:21:54.000000000 +0300
> @@ -198,10 +198,6 @@ init_fake_inode(struct super_block *supe
> {
> assert("nikita-2168", fake->i_state & I_NEW);
> fake->i_mapping->a_ops = &formatted_fake_as_ops;
> - fake->i_blkbits = super->s_blocksize_bits;
> - fake->i_size = ~0ull;
> - fake->i_rdev = super->s_bdev->bd_dev;
> - fake->i_bdev = super->s_bdev;
> *pfake = fake;
> /* NOTE-NIKITA something else? */
> unlock_new_inode(fake);
>
> _
--
laurent
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/