Re: [PATCH V4 01/12] kernfs: use idr instead of ida to manage inode number
From: Greg KH
Date: Thu Jun 29 2017 - 08:51:41 EST
On Wed, Jun 28, 2017 at 09:29:51AM -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.
>
> Acked-by: Tejun Heo <tj@xxxxxxxxxx>
> Signed-off-by: Shaohua Li <shli@xxxxxx>
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>