lkml.org 
[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.16-rc6-mm2: reiser4 BUG when unmounting fs
From
Date
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.
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);
_
\
 
 \ /
  Last update: 2006-03-22 09:15    [W:0.045 / U:18.328 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site