aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorYangtao Li <[email protected]>2023-02-27 20:02:15 +0800
committerJan Kara <[email protected]>2023-03-20 17:27:42 +0100
commitf8107c996f5419a5b964b9796d736c7b81f099a0 (patch)
tree33a5add146e2d2a5eb66c92e19fe57268508269b /lib/test_fortify/write_overflow-strncpy-src.c
parentdced733d7fa9386f7c96bbf7721360472c0aed47 (diff)
quota: fixup *_write_file_info() to return proper error code
For v1_write_file_info function, when quota_write() returns 0, it should be considered an EIO error. And for v2_write_file_info(), fix to proper error return code instead of raw number. Signed-off-by: Yangtao Li <[email protected]> Signed-off-by: Jan Kara <[email protected]> Message-Id: <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions