Re: [PATCH V4 01/12] kernfs: use idr instead of ida to manage inode number

Greg KH
2017-06-29T12:51:37Z

On Wed, Jun 28, 2017 at 09:29:51AM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@fb.com>
>
> 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@kernel.org>
> Signed-off-by: Shaohua Li <shli@fb.com>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>