diff options
author | Baokun Li <[email protected]> | 2024-05-22 19:43:01 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-05-29 13:03:29 +0200 |
commit | 3e6d704f02aa4c50c7bc5fe91a4401df249a137b (patch) | |
tree | 1327c45184e67c37c229cc271e4a1b5fda4798b5 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | da4a827416066191aafeeccee50a8836a826ba10 (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