[lkml]   [2010]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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 <>

    Acked-by: Greg Kroah-Hartman <>


    greg k-h

     \ /
      Last update: 2010-07-15 19:13    [W:0.017 / U:61.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site