aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorzhengbin <[email protected]>2018-11-30 16:04:25 +0800
committerJ. Bruce Fields <[email protected]>2018-12-04 20:48:07 -0500
commit255fbca65137e25b12bced18ec9a014dc77ecda0 (patch)
tree51884812c0e497b5b409ed4ede85ece15aa94a50 /tools/perf/scripts/python/export-to-postgresql.py
parent4ecd55ea074217473f94cfee21bb72864d39f8d7 (diff)
nfsd: Return EPERM, not EACCES, in some SETATTR cases
As the man(2) page for utime/utimes states, EPERM is returned when the second parameter of utime or utimes is not NULL, the caller's effective UID does not match the owner of the file, and the caller is not privileged. However, in a NFS directory mounted from knfsd, it will return EACCES (from nfsd_setattr-> fh_verify->nfsd_permission). This patch fixes that. Signed-off-by: zhengbin <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions