diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-03-10 15:26:05 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-11-16 01:35:05 -0500 |
| commit | b89aa544821d5018002829fce5d10c9d00cc567f (patch) | |
| tree | dcd408d2241452f193a3c9d12437eb411f3b7bcb /rust/helpers/task.c | |
| parent | 02da8d2c0965fe9183b6100e438a3aee8bc4e088 (diff) | |
convert binderfs
Objects are created either by d_alloc_name()+d_add() (in
binderfs_ctl_create()) or by simple_start_creating()+d_instantiate().
Removals are by simple_recurisive_removal().
Switch d_add()/d_instantiate() to d_make_persistent() + dput().
Voila - kill_litter_super() is not needed anymore.
Fold dput()+unlocking the parent into simple_done_creating(), while
we are at it.
NOTE: return value of binderfs_create_file() is borrowed; it may get
stored in proc->binderfs_entry. See binder_release()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
