aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2024-05-22 19:43:01 +0800
committerChristian Brauner <[email protected]>2024-05-29 13:03:29 +0200
commit3e6d704f02aa4c50c7bc5fe91a4401df249a137b (patch)
tree1327c45184e67c37c229cc271e4a1b5fda4798b5 /lib/test_fortify/write_overflow-strncpy-src.c
parentda4a827416066191aafeeccee50a8836a826ba10 (diff)
cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()
The err_put_fd label is only used once, so remove it to make the code more readable. In addition, the logic for deleting error request and CLOSE request is merged to simplify the code. Signed-off-by: Baokun Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Jeff Layton <[email protected]> Reviewed-by: Jia Zhu <[email protected]> Reviewed-by: Gao Xiang <[email protected]> Reviewed-by: Jingbo Xu <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions