[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080505105914.GA20910@infradead.org>
Date: Mon, 5 May 2008 06:59:14 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: akpm@...ux-foundation.org, hch@...radead.org,
viro@...IV.linux.org.uk, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
Michael Halcrow <mhalcrow@...ibm.com>
Subject: Re: [patch 01/15] ecryptfs: clean up (un)lock_parent
On Mon, May 05, 2008 at 11:54:42AM +0200, Miklos Szeredi wrote:
> From: Miklos Szeredi <mszeredi@...e.cz>
>
> dget(dentry->d_parent) --> dget_parent(dentry)
>
> unlock_parent() is racy and unnecessary. Replace single caller with
> unlock_dir().
>
> There are several other suspect uses of ->d_parent in ecryptfs...
Looks good an the first hunk is an obvious fix. Should probably go into
.26
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists