projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2007d28
)
bcachefs: Fix bad shift in bch2_read_flag_list()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 30 Sep 2024 22:46:48 +0000
(18:46 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Tue, 1 Oct 2024 21:20:24 +0000
(17:20 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/util.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/util.c
b/fs/bcachefs/util.c
index 42f565c76181715e5e0b24e5a5df2dd14758b0b4..e0a876cbaa6b78eda3f9fe5d718b4fd609193330 100644
(file)
--- a/
fs/bcachefs/util.c
+++ b/
fs/bcachefs/util.c
@@
-222,7
+222,7
@@
u64 bch2_read_flag_list(const char *opt, const char * const list[])
break;
}
- ret |=
1 << flag
;
+ ret |=
BIT_ULL(flag)
;
}
kfree(d);