aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2022-07-26 16:45:30 +1000
committerChuck Lever <[email protected]>2022-08-04 10:28:19 -0400
commite18bcb33bc5b69bccc2b532075aa00bb49cc01c5 (patch)
treecf15377f71f537048e4ec2b6099f087479fc9b6d /tools/perf/scripts/python/bin/export-to-postgresql-report
parentb677c0c63a135a916493c064906582e9f3ed4802 (diff)
NFSD: only call fh_unlock() once in nfsd_link()
On non-error paths, nfsd_link() calls fh_unlock() twice. This is safe because fh_unlock() records that the unlock has been done and doesn't repeat it. However it makes the code a little confusing and interferes with changes that are planned for directory locking. So rearrange the code to ensure fh_unlock() is called exactly once if fh_lock() was called. Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions