Re: [PATCH V3 01/12] kernfs: use idr instead of ida to manage inode number
From: Tejun Heo
Date: Mon Jun 19 2017 - 14:52:43 EST
On Thu, Jun 15, 2017 at 11:17:09AM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@xxxxxx>
>
> kernfs uses ida to manage inode number. The problem is we can't get
> kernfs_node from inode number with ida. Switching to use idr, next patch
> will add an API to get kernfs_node from inode number.
>
> Signed-off-by: Shaohua Li <shli@xxxxxx>
Acked-by: Tejun Heo <tj@xxxxxxxxxx>
Thanks.
--
tejun