lkml.org 
[lkml]   [2011]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH resend] audit: fix mark refcounting
    On Thu, Dec 15, 2011 at 10:03:41AM +0100, Miklos Szeredi wrote:
    >
    > + audit_get_parent(parent);
    > fsnotify_destroy_mark(&parent->mark);
    > + audit_put_parent(parent);

    Hi,

    What about taking an extra ref on an inode mark in send_to_group()
    before we call handle_event()?
    So we dont have to handle the cases in which a mark is destroyed
    explicitly...

    Lino



    \
     
     \ /
      Last update: 2011-12-15 21:09    [W:0.020 / U:62.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site