diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-19 19:23:41 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-20 18:59:26 -0400 |
commit | be35429fa2ae5dd6cc17664e2dd3c23b4c691028 (patch) | |
tree | ab591e151950fe357926d4f20c8e9fcf47ae712d /include/linux/compiler.h | |
parent | e28050092ff1ca2f4e42b256e1d788b24ce67670 (diff) |
Update bcachefs sources to f565983af369 bcachefs: Read retries are after checksum errors now REQ_FUA
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 228cd373..2b75931a 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -190,4 +190,8 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s #define TYPEOF_UNQUAL(exp) __typeof__(exp) +#define typeof_member(T, m) typeof(((T*)0)->m) + +#define __cleanup(func) __maybe_unused __attribute__((__cleanup__(func))) + #endif /* _TOOLS_LINUX_COMPILER_H */ |