lkml.org 
[lkml]   [2012]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block_dev: Suppress bdev_cache_init() kmemleak warninig
On Tue, Jan 10, 2012 at 01:44:36AM +0300, Sergey Senozhatsky wrote:

> due to attempt to mark pointer to `struct vfsmount' as a gray object, which
> is embedded into `struct mount' returned from alloc_vfsmnt(). Pass actual
> allocated `struct mount' pointer to kmemleak_not_leak() instead.

*snort*

how about turning bd_mnt into a static instead and to hell with messing with
annotations? It's not like one word of .bss was worth those convolutions...


\
 
 \ /
  Last update: 2012-01-10 00:05    [from the cache]
©2003-2011 Jasper Spaans