VFS bug? Trying to free free buffer
Hello.
Kernel 2.4.5.
$ sudo mount -o iocharset=garbage /dev/cdrom /cdrom
VFS: brelse: Trying to free free buffer
Signature · 1 line
Alexey
Hello,
At Fri, 8 Jun 2001 16:42:54 +0300,
Quoted 8 lines · Alexey Vyskubov
Hello.
Kernel 2.4.5.
$ sudo mount -o iocharset=garbage /dev/cdrom /cdromVFS: 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.
fs/isofs/inode.c +1 -1
@@ -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 (); } }