diff options
author | Zhao Mengmeng <[email protected]> | 2024-10-01 19:54:23 +0800 |
---|---|---|
committer | Jan Kara <[email protected]> | 2024-10-02 12:37:01 +0200 |
commit | ee703a7068f95764cfb62b57db1d36e465cb9b26 (patch) | |
tree | 304a2109432d55dcbac566e30fc366657b4a41d5 /rust/helpers/build_bug.c | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
udf: refactor udf_current_aext() to handle error
As Jan suggested in links below, refactor udf_current_aext() to
differentiate between error, hit EOF and success, it now takes pointer to
etype to store the extent type, return 1 when getting etype success,
return 0 when hitting EOF and return -errno when err.
Link: https://lore.kernel.org/all/20240912111235.6nr3wuqvktecy3vh@quack3/
Signed-off-by: Zhao Mengmeng <[email protected]>
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions