diff options
| author | Anton Vasilyev <[email protected]> | 2017-08-08 18:56:37 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2017-12-20 19:56:24 -0700 |
| commit | 744820869166c8c78be891240cf5f66e8a333694 (patch) | |
| tree | 70ab2a2dde5b0710d50e21d91d8c4392a4587c30 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 66f53e6f5400578bae58db0c06d85a8820831f40 (diff) | |
RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
Debugfs file reset_stats is created with S_IRUSR permissions,
but ocrdma_dbgfs_ops_read() doesn't support OCRDMA_RESET_STATS,
whereas ocrdma_dbgfs_ops_write() supports only OCRDMA_RESET_STATS.
The patch fixes misstype with permissions.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <[email protected]>
Acked-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions