mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Panin <pazke@orbita1.ru>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] remove unneeded inode semaphores from driverfs
Date: Tue, 26 Feb 2002 13:12:08 +0300	[thread overview]
Message-ID: <20020226101208.GA285@pazke.ipt> (raw)
In-Reply-To: <20020226085946.GB278@pazke.ipt> <20020226085952.GA30564@kroah.com>
In-Reply-To: <20020226085952.GA30564@kroah.com>

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

On Tue, Feb 26, 2002 at 12:59:53AM -0800, Greg KH wrote:
> On Tue, Feb 26, 2002 at 11:59:46AM +0300, Andrey Panin wrote:
> > Hi,
> > 
> > __remove_file() in driverfs/inode.c calls down(&dentry->d_inode->i_sem)
> > before calling vfs_unlink(dentry->d_parent->d_inode,dentry) which 
> > tries to claim the same semaphore causing the livelock.
> > driverfs_remove_dir() makes the same calling vfs_rmdir().
> 
> What kernel version did you generate this patch for?  This patch doesn't
> apply at all to 2.5.5, and it looks like this problem is already fixed.

It's against 2.5.5-pre1, I was out of the net for some days and
couldn't check final 2.5.5.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2002-02-26 10:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-26  8:59 Andrey Panin
2002-02-26  8:59 ` Greg KH
2002-02-26 10:12   ` Andrey Panin [this message]
2002-02-26 16:53     ` Patrick Mochel

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=20020226101208.GA285@pazke.ipt \
    --to=pazke@orbita1.ru \
    --cc=greg@kroah.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®