[prev in list] [next in list] [prev in thread] [next in thread]
List: ocfs2-devel
Subject: Re: [Ocfs2-devel] [PATCH v3 01/10] kobject: introduce kobject_del_and_put()
From: Yangtao Li via Ocfs2-devel <ocfs2-devel () oss ! oracle ! com>
Date: 2023-04-04 13:30:37
Message-ID: 20230404133037.66927-1-frank.li () vivo ! com
[Download RAW message or body]
> kobject_put() actually covers kobject removal automatically, which is
> single stage removal. So if you see the two called together, it is
> safe to kill kobject_del() directly.
If the reference count is not abnormal, kobject_put() does contain
what kobject_del() does.
Thx,
Yangtao
_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic