diff options
| author | Zijun Hu <[email protected]> | 2025-05-07 11:50:26 +0000 |
|---|---|---|
| committer | Andreas Hindborg <[email protected]> | 2025-05-09 08:11:13 +0000 |
| commit | f830edbae247b89228c3e09294151b21e0dc849c (patch) | |
| tree | cfa94ff53d615c04b33a82dea58d011cff26b7ec /rust/helpers/mutex.c | |
| parent | configfs: Delete semicolon from macro type_print() definition (diff) | |
| download | kernel-f830edbae247b89228c3e09294151b21e0dc849c.tar.gz kernel-f830edbae247b89228c3e09294151b21e0dc849c.zip | |
configfs: Do not override creating attribute file failure in populate_attrs()
populate_attrs() may override failure for creating attribute files
by success for creating subsequent bin attribute files, and have
wrong return value.
Fix by creating bin attribute files under successfully creating
attribute files.
Fixes: 03607ace807b ("configfs: implement binary attributes")
Cc: [email protected]
Reviewed-by: Joel Becker <[email protected]>
Reviewed-by: Breno Leitao <[email protected]>
Signed-off-by: Zijun Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andreas Hindborg <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
