diff options
author | 2017-07-12 11:49:52 -0700 | |
---|---|---|
committer | 2017-07-29 09:00:03 -0600 | |
commit | 121508df44d074245a72eda6b067478218480a40 (patch) | |
tree | 3811dbdbf764aa2b4cda99d87aa58793f2a747e1 /include/linux/blktrace_api.h | |
parent | kernfs: add exportfs operations (diff) | |
download | linux-rng-121508df44d074245a72eda6b067478218480a40.tar.xz linux-rng-121508df44d074245a72eda6b067478218480a40.zip |
cgroup: export fhandle info for a cgroup
Add an API to export cgroup fhandle info. We don't export a full 'struct
file_handle', there are unrequired info. Sepcifically, cgroup is always
a directory, so we don't need a 'FILEID_INO32_GEN_PARENT' type fhandle,
we only need export the inode number and generation number just like
what generic_fh_to_dentry does. And we can avoid the overhead of getting
an inode too, since kernfs_node_id (ino and generation) has all the info
required.
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blktrace_api.h')
0 files changed, 0 insertions, 0 deletions