From: Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp>
To: alexey.vyskubov@nokia.com (Alexey Vyskubov)
Cc: linux-kernel@vger.kernel.org
Subject: Re: VFS bug? Trying to free free buffer
Date: Sun, 10 Jun 2001 16:09:14 +0900 [thread overview]
Message-ID: <66e4zu91.wl@bardioc.open.nm.fujitsu.co.jp> (raw)
In-Reply-To: <20010608164254.A936@Hews1193nrc>
In-Reply-To: <20010608164254.A936@Hews1193nrc>
Hello,
At Fri, 8 Jun 2001 16:42:54 +0300,
Alexey Vyskubov wrote:
>
> Hello.
>
> Kernel 2.4.5.
>
> $ sudo mount -o iocharset=garbage /dev/cdrom /cdrom
>
> VFS: brelse: Trying to free free buffer
I think this is the ISOFS's bug. If invalid iocharset is specified
as a mount option, isofs_read_super() tries to free the buffer_head twice.
This patch may help.
diff -r -u -N linux.org/fs/isofs/inode.c linux/fs/isofs/inode.c
--- linux.org/fs/isofs/inode.c Sun Jun 10 14:23:02 2001
+++ linux/fs/isofs/inode.c Sun Jun 10 15:10:38 2001
@@ -744,7 +744,7 @@
if (! s->u.isofs_sb.s_nls_iocharset) {
/* Fail only if explicit charset specified */
if (opt.iocharset)
- goto out_freebh;
+ goto out_unlock;
s->u.isofs_sb.s_nls_iocharset = load_nls_default();
}
}
prev parent reply other threads:[~2001-06-10 7:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-08 13:42 Alexey Vyskubov
2001-06-10 7:09 ` Tachino Nobuhiro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66e4zu91.wl@bardioc.open.nm.fujitsu.co.jp \
--to=tachino@open.nm.fujitsu.co.jp \
--cc=alexey.vyskubov@nokia.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®