Re: 2.6.24-rc8-mm1: sparc64 warning at fs/file_table.c:49__fput+0x1a8/0x1e0()

From: Andrew Morton
Date: Tue Jan 22 2008 - 16:02:56 EST


> On Tue, 22 Jan 2008 21:30:23 +0100 Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> wrote:
> Hello,
>
> Issuing "sysrq-s sysrq-u" sequence causes these warnings on sparc64:
>
> ------------[ cut here ]------------
> WARNING: at fs/file_table.c:49 __fput+0x1a8/0x1e0()
> Modules linked in: sg sr_mod cdrom
> Call Trace:
> [00000000004c9ac8] __fput+0x1b0/0x1e0
> [00000000004c6978] filp_close+0x60/0x80
> [00000000004c6a18] sys_close+0x80/0xe0
> [00000000004062d4] linux_sparc_syscall32+0x3c/0x40
> [0000000000012f1c] 0x12f24
> ---[ end trace 6dbe14ff8ec57744 ]---
> ------------[ cut here ]------------
> WARNING: at fs/file_table.c:49 __fput+0x1a8/0x1e0()
> Modules linked in: sg sr_mod cdrom
> Call Trace:
> [00000000004c9ac8] __fput+0x1b0/0x1e0
> [00000000004c6978] filp_close+0x60/0x80
> [00000000004c6a18] sys_close+0x80/0xe0
> [00000000004062d4] linux_sparc_syscall32+0x3c/0x40
> [0000000000012f1c] 0x12f24
> ---[ end trace 6dbe14ff8ec57744 ]---
> ------------[ cut here ]------------
> WARNING: at fs/file_table.c:49 __fput+0x1a8/0x1e0()
> Modules linked in: sg sr_mod cdrom
> Call Trace:
> [00000000004c9ac8] __fput+0x1b0/0x1e0
> [00000000004c6978] filp_close+0x60/0x80
> [00000000004c6a18] sys_close+0x80/0xe0
> [00000000004062d4] linux_sparc_syscall32+0x3c/0x40
> [0000000000012f1c] 0x12f24
> ---[ end trace 6dbe14ff8ec57744 ]---
> ------------[ cut here ]------------
> WARNING: at fs/file_table.c:49 __fput+0x1a8/0x1e0()
> Modules linked in: sg sr_mod cdrom
> Call Trace:
> [00000000004c9ac8] __fput+0x1b0/0x1e0
> [00000000004c6978] filp_close+0x60/0x80
> [00000000004c6a18] sys_close+0x80/0xe0
> [00000000004062d4] linux_sparc_syscall32+0x3c/0x40
> [0000000000012f1c] 0x12f24
> ---[ end trace 6dbe14ff8ec57744 ]---
>

That's

WARN_ON(f->f_mnt_write_state == FILE_MNT_WRITE_TAKEN);

cc's added...
--
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/