Make struct fuse_req::ctr a C11 _Atomic
authorBernd Schubert <bschubert@ddn.com>
Tue, 4 Jun 2024 11:56:09 +0000 (13:56 +0200)
committerBernd Schubert <bschubert@ddn.com>
Tue, 4 Jun 2024 11:59:42 +0000 (13:59 +0200)
commitd44162534ce2e3a9e05a9fa5b399b9dcf02f6820
treef90de6e414aedae4254b1b476bae7be8942156e1
parentcef8c8b249023fb8129ae791e0998cbca771f96a
Make struct fuse_req::ctr a C11 _Atomic

The variable is not modified exclusively with locks since commit
cef8c8b24902 ("Add support for no_interrupt") anymore.
That commit is safe, but might be error prone to future updates.
Changing it to a C11 _Atomic should avoid issues.
lib/fuse_i.h