Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754036AbdFSSw0 (ORCPT ); Mon, 19 Jun 2017 14:52:26 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:36091 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752304AbdFSSwX (ORCPT ); Mon, 19 Jun 2017 14:52:23 -0400 Date: Mon, 19 Jun 2017 14:52:06 -0400 From: Tejun Heo To: Shaohua Li Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, gregkh@linuxfoundation.org, hch@lst.de, axboe@fb.com, rostedt@goodmis.org, lizefan@huawei.com, Kernel-team@fb.com, Shaohua Li Subject: Re: [PATCH V3 01/12] kernfs: use idr instead of ida to manage inode number Message-ID: <20170619185206.GF12062@htj.duckdns.org> References: <6a120b12b501ca4f4821271009d4df14c9248c85.1497549993.git.shli@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a120b12b501ca4f4821271009d4df14c9248c85.1497549993.git.shli@fb.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 399 Lines: 15 On Thu, Jun 15, 2017 at 11:17:09AM -0700, Shaohua Li wrote: > From: Shaohua Li > > 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 Acked-by: Tejun Heo Thanks. -- tejun