From: Juan <piernas@ditec.um.es>
To: linux-kernel@vger.kernel.org, Remy.Card@linux.org
Subject: [ONE-LINE PATCH](Silly?) bug in ext2/namei.c, 2.2.x, 2.4.x
Date: Thu, 15 Feb 2001 20:51:25 +0100 [thread overview]
Message-ID: <3A8C333D.FA59D477@ditec.um.es> (raw)
Hi!
I think that this is a bug. The buffer is always released except in this
case.
Bye.
----------------------------------------------------
*** /usr/src/linux-2.4.1/fs/ext2/namei.c Tue Dec 12 16:48:22 2000
--- namei.c.new Thu Feb 15 20:42:45 2001
***************
*** 235,240 ****
--- 235,241 ----
return retval;
if (dir->i_size <= offset) {
if (dir->i_size == 0) {
+ brelse(bh);
return -ENOENT;
}
----------------------------------------------------
--
D. Juan Piernas Cánovas
Departamento de Ingeniería y Tecnología de Computadores
Facultad de Informática. Universidad de Murcia
Campus de Espinardo - 30080 Murcia (SPAIN)
Tel.: +34968367657 Fax: +34968364151
email: piernas@ditec.um.es
PGP public key:
http://pgp.rediris.es:11371/pks/lookup?search=piernas%40ditec.um.es&op=index
reply other threads:[~2001-02-15 19:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3A8C333D.FA59D477@ditec.um.es \
--to=piernas@ditec.um.es \
--cc=Remy.Card@linux.org \
--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®