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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site