diff options
author | Ronnie Sahlberg <[email protected]> | 2018-10-25 15:43:36 +1000 |
---|---|---|
committer | Steve French <[email protected]> | 2018-11-02 14:09:41 -0500 |
commit | 0c5d6cb6643f48ad3775322f3ebab6c7eb67484e (patch) | |
tree | 708f90365fd6d08b197801a8a4d7424b3b87831c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5f21585384a4a69b8bfdd2cae7e3648ae805f57d (diff) |
cifs: fix return value for cifs_listxattr
If the application buffer was too small to fit all the names
we would still count the number of bytes and return this for
listxattr. This would then trigger a BUG in usercopy.c
Fix the computation of the size so that we return -ERANGE
correctly when the buffer is too small.
This fixes the kernel BUG for xfstest generic/377
Signed-off-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions