diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-21 22:43:32 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-02 19:35:59 -0400 |
commit | 308a022f41bd3f12ceeda34f6d36bf8f2601d9ae (patch) | |
tree | cbccff1716dec56315c6f5470b56a6eff8e1728e /scripts/lib/abi/helpers.py | |
parent | 9bf5d488529b9efa01bd292633482acd10277b90 (diff) |
do_new_mount_fc(): use __free() to deal with dropping mnt on failure
do_add_mount() consumes vfsmount on success; just follow it with
conditional retain_and_null_ptr() on success and we can switch
to __free() for mnt and be done with that - unlock_mount() is
in the very end.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions