Skip to content

Commit

Permalink
Fix build failure on liburcu v0.15.0
Browse files Browse the repository at this point in the history
After upgrading liburcu to v0.15.0, bcachefs-tools failed to build. This patch
fixes build errors on liburcu v0.15.0.

Signed-off-by: Integral <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Integral-Tech authored and Kent Overstreet committed Dec 29, 2024
1 parent 601deb6 commit 634c812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ static inline i_type a_type##_read_acquire(const a_type##_t *v) \
\
static inline void a_type##_set(a_type##_t *v, i_type i) \
{ \
return __ATOMIC_SET(&v->counter, i); \
__ATOMIC_SET(&v->counter, i); \
} \
\
static inline void a_type##_set_release(a_type##_t *v, i_type i) \
{ \
return __ATOMIC_SET_RELEASE(&v->counter, i); \
__ATOMIC_SET_RELEASE(&v->counter, i); \
} \
\
static inline i_type a_type##_add_return(i_type i, a_type##_t *v) \
Expand Down

0 comments on commit 634c812

Please sign in to comment.