Re: [PATCH 02/15] fuse: Ensure init clean-up even with error_fatal

2025-03-27 Thread Stefan Hajnoczi
On Tue, Mar 25, 2025 at 05:06:42PM +0100, Hanna Czenczek wrote: > When exports are created on the command line (with the storage daemon), > errp is going to point to error_fatal. Without ERRP_GUARD, we would > exit immediately when *errp is set, i.e. skip the clean-up code under > the `fail` label

Re: [PATCH 02/15] fuse: Ensure init clean-up even with error_fatal

2025-03-26 Thread Hanna Czenczek
On 26.03.25 06:47, Markus Armbruster wrote: Hanna Czenczek writes: When exports are created on the command line (with the storage daemon), errp is going to point to error_fatal. Without ERRP_GUARD, we would exit immediately when *errp is set, i.e. skip the clean-up code under the `fail` label

Re: [PATCH 02/15] fuse: Ensure init clean-up even with error_fatal

2025-03-25 Thread Markus Armbruster
Hanna Czenczek writes: > When exports are created on the command line (with the storage daemon), > errp is going to point to error_fatal. Without ERRP_GUARD, we would > exit immediately when *errp is set, i.e. skip the clean-up code under > the `fail` label. Use ERRP_GUARD so we always run that

[PATCH 02/15] fuse: Ensure init clean-up even with error_fatal

2025-03-25 Thread Hanna Czenczek
When exports are created on the command line (with the storage daemon), errp is going to point to error_fatal. Without ERRP_GUARD, we would exit immediately when *errp is set, i.e. skip the clean-up code under the `fail` label. Use ERRP_GUARD so we always run that code. As far as I know, this ha