kernfs: introduce kernfs_node_id
authorShaohua Li <shli@fb.com>
Wed, 12 Jul 2017 18:49:50 +0000 (11:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Jul 2017 15:00:03 +0000 (09:00 -0600)
commitc53cd490b1a491ebf1d8e30da97e7231459a4208
tree09edea3836ea440490dcc2993c802b65b93c1e6b
parent319ba91d352a74acb47678788109a14b9b4dd4c2
kernfs: introduce kernfs_node_id

inode number and generation can identify a kernfs node. We are going to
export the identification by exportfs operations, so put ino and
generation into a separate structure. It's convenient when later patches
use the identification.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/kernfs/dir.c
fs/kernfs/file.c
fs/kernfs/inode.c
include/linux/cgroup.h
include/linux/kernfs.h
include/trace/events/writeback.h