summaryrefslogtreecommitdiff
path: root/fs/kernfs/inode.c
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-07-12 11:49:46 -0700
committerJens Axboe <axboe@kernel.dk>2017-07-29 09:00:03 -0600
commit7d35079f8277b653d6a3075eea9edd4dbf7c2b29 (patch)
treeba7fa95ee75d62694c4fa83e936709e9b4279954 /fs/kernfs/inode.c
parent0a07b238e5f488b459b6113a62e06b6aab017f71 (diff)
kernfs: use idr instead of ida to manage inode number
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> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/kernfs/inode.c')
0 files changed, 0 insertions, 0 deletions