diff options
| author | Christoph Hellwig <[email protected]> | 2024-09-18 05:30:04 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2024-10-07 06:00:11 +0000 |
| commit | 346c1d46d4c631c0c88592d371f585214d714da4 (patch) | |
| tree | ffe7cf3edde40b486e01f779cdd0d71c2ed65ced /rust/helpers/err.c | |
| parent | xfs: merge xfs_attr_leaf_try_add into xfs_attr_leaf_addname (diff) | |
| download | kernel-346c1d46d4c631c0c88592d371f585214d714da4.tar.gz kernel-346c1d46d4c631c0c88592d371f585214d714da4.zip | |
xfs: return bool from xfs_attr3_leaf_add
xfs_attr3_leaf_add only has two potential return values, indicating if the
entry could be added or not. Replace the errno return with a bool so that
ENOSPC from it can't easily be confused with a real ENOSPC.
Remove the return value from the xfs_attr3_leaf_add_work helper entirely,
as it always return 0.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions
