From: Thomas Gleixner <tglx@linutronix.de>
To: Ben Gamsa <ben@somanetworks.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: jffs2 deadlock on alloc_sem in jffs2_reserve_space
Date: Wed, 28 Jul 2004 07:48:14 +0200 [thread overview]
Message-ID: <1090993694.20889.174.camel@thomas.tec.linutronix.de> (raw)
In-Reply-To: <41070C86.4060608@somanetworks.com>
On Wed, 2004-07-28 at 04:16, Ben Gamsa wrote:
>
> f = jffs2_gc_fetch_inode(c, inum, nlink);
> if (IS_ERR(f))
> return PTR_ERR(f);
> if (!f)
> return 0;
>
> ret = jffs2_garbage_collect_live(c, jeb, raw, f);
>
> jffs2_gc_release_inode(c, f);
>
> release_sem:
> up(&c->alloc_sem);
>
Sure, it has to release the semaphore. It's fixed in current CVS
already.
tglx
prev parent reply other threads:[~2004-07-28 5:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-28 2:16 jffs2 deadlock on alloc_sem in jffs2_reserve_space Ben Gamsa
2004-07-28 5:48 ` Thomas Gleixner [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=1090993694.20889.174.camel@thomas.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=ben@somanetworks.com \
--cc=linux-mtd@lists.infradead.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