Thread (23 messages) 23 messages, 4 authors, 2017-06-12

Re: [PATCH 03/11] kernfs: add an API to get kernfs node from inode number

From: Tejun Heo <tj@kernel.org>
Date: 2017-06-12 18:37:37
Also in: lkml

Ooh, one more thing.

On Mon, Jun 12, 2017 at 02:20:28PM -0400, Tejun Heo wrote:
quoted
+struct kernfs_node *kernfs_get_node_by_ino(struct kernfs_root *root,
+					   unsigned int ino)
Can we name this kernfs_find_and_get_by_ino() for consistency?  And
the RCU optimization does seem prominent compared to other find/get
functions which all just use kernfs_mutex (still not objecting).

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help