diff options
author | Shaohua Li <shli@fb.com> | 2017-07-12 21:49:46 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-07-29 18:00:03 +0300 |
commit | 7d35079f8277b653d6a3075eea9edd4dbf7c2b29 (patch) | |
tree | ba7fa95ee75d62694c4fa83e936709e9b4279954 /fs/kernfs/kernfs-internal.h | |
parent | 0a07b238e5f488b459b6113a62e06b6aab017f71 (diff) | |
download | linux-7d35079f8277b653d6a3075eea9edd4dbf7c2b29.tar.xz |
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/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions