Re: 4 functions defined but not invoked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018/8/3 7:27 PM, Wang Sheng-Hui wrote:
> Hi Kent & Coly,
> 
> I noticed 4 release functions declared and defined, but are not invoked.
> And I didn't find out how them are connected with some closures.
> 
> I wonder how they are invoked? Or invocation missed?
> ------------------------------------------------------------
> void bch_cached_dev_release(struct kobject *);
> void bch_flash_dev_release(struct kobject *);
> void bch_cache_set_release(struct kobject *);
> void bch_cache_release(struct kobject *);

Hi Shenghui,

Check where KTYPE() is referenced, you may have the answer :-)

Thanks.

Coly Li
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux