diff options
author | Tejun Heo <tj@kernel.org> | 2019-11-05 00:54:30 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2019-11-12 17:18:04 +0100 |
commit | 33c5ac9175195c36a0b7005aaf503a2e81f117a1 (patch) | |
tree | 15d6857075452a053ad701ae4bb564135ad14998 /crypto/ecc.c | |
parent | kernfs: combine ino/id lookup functions into kernfs_find_and_get_node_by_id() (diff) | |
download | linux-33c5ac9175195c36a0b7005aaf503a2e81f117a1.tar.xz linux-33c5ac9175195c36a0b7005aaf503a2e81f117a1.zip |
kernfs: implement custom exportfs ops and fid type
The current kernfs exportfs implementation uses the generic_fh_*()
helpers and FILEID_INO32_GEN[_PARENT] which limits ino to 32bits.
Let's implement custom exportfs operations and fid type to remove the
restriction.
* FILEID_KERNFS is a single u64 value whose content is
kernfs_node->id. This is the only native fid type.
* For backward compatibility with blk_log_action() path which exposes
(ino,gen) pairs which userland assembles into FILEID_INO32_GEN keys,
combine the generic keys into 64bit IDs in the same order.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'crypto/ecc.c')
0 files changed, 0 insertions, 0 deletions