summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-01-17 22:38:30 +0300
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 17:20:52 +0300
commit1f0001d43d0c0ac2a19a34a914f6595ad97cbc1d (patch)
treee8a4ef1f35ffa298216f34696a012cf6da0b0abd /tools/perf/scripts/python/export-to-postgresql.py
parentecfa3987731b1ceb7964075cdc0235da1765622a (diff)
downloadlinux-1f0001d43d0c0ac2a19a34a914f6595ad97cbc1d.tar.xz
nfsd: zero out pointers after putting nfsd_files on COPY setup error
At first, I thought this might be a source of nfsd_file overputs, but the current callers seem to avoid an extra put when nfsd4_verify_copy returns an error. Still, it's "bad form" to leave the pointers filled out when we don't have a reference to them anymore, and that might lead to bugs later. Zero them out as a defensive coding measure. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions