lkml.org 
[lkml]   [2010]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][securityfs][2.6.34] Drop dentry reference count when mknod fails
On Thu, Jul 15, 2010 at 01:25:06PM +0100, Tvrtko Ursulin wrote:
>
> lookup_one_len increments dentry reference count which is not decremented
> when the create operation fails. This can cause a kernel BUG at
> fs/dcache.c:676 at unmount time. Also error code returned when new_inode()
> fails was replaced with more appropriate -ENOMEM.
>

Nice, thanks for finding and fixing this, great job.

> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>

Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

thanks,

greg k-h


\
 
 \ /
  Last update: 2010-07-15 19:13    [from the cache]
©2003-2011 Jasper Spaans