lkml.org 
[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@suse.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



\
 
 \ /
  Last update: 2008-05-05 13:03    [W:0.072 / U:3.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site