aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2010-05-14 15:33:36 +0400
committerJ. Bruce Fields <[email protected]>2010-05-14 18:46:14 -0400
commit15ddb4aec54422ead137b03ea4e9b3f5db3f7cc2 (patch)
tree7553c06ca7ba059d30289bb8f2e09753671220de /tools/perf/util/trace-event-scripting.c
parent4dc6ec00f6347b72312fa41dfc587d5302b05544 (diff)
NFSD: don't report compiled-out versions as present
The /proc/fs/nfsd/versions file calls nfsd_vers() to check whether the particular nfsd version is present/available. The problem is that once I turn off e.g. NFSD-V4 this call returns -1 which is true from the callers POV which is wrong. The proposal is to report false in that case. The bug has existed since 6658d3a7bbfd1768 "[PATCH] knfsd: remove nfsd_versbits as intermediate storage for desired versions". Signed-off-by: Pavel Emelyanov <[email protected]> Cc: [email protected] Acked-by: NeilBrown <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions