]> www.infradead.org Git - nvme.git/commit
fuse: remove unneeded atomic set in uring creation
authorJoanne Koong <joannelkoong@gmail.com>
Tue, 18 Mar 2025 00:41:52 +0000 (17:41 -0700)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 31 Mar 2025 12:59:27 +0000 (14:59 +0200)
commit2d066800a4276340a97acc75c148892eb6f8781a
tree5f2e3f82ea17440b1587dde8cd75f6e71ae65022
parent1dfe2a220e9cd85861a853b00d8620222b960c1f
fuse: remove unneeded atomic set in uring creation

When the ring is allocated, it is kzalloc-ed. ring->queue_refs will
already be initialized to 0 by default. It does not need to be
atomically set to 0.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Bernd Schubert <bschubert@ddn.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev_uring.c