diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-10-28 10:47:28 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-11-28 12:54:46 -0500 |
commit | 81a21fa3e7fdecb3c5b97014f0fc5a17d5806cae (patch) | |
tree | b73bb1a97aeff18d489394f3c51f7b37a0e04d25 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3fe828caddd81e68e9d29353c6e9285a658ca056 (diff) |
NFSD: Clean up nfsd4_init_file()
Name this function more consistently. I'm going to use nfsd4_file_
and nfsd4_file_hash_ for these helpers.
Change the @fh parameter to be const pointer for better type safety.
Finally, move the hash insertion operation to the caller. This is
typical for most other "init_object" type helpers, and it is where
most of the other nfs4_file hash table operations are located.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions