projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/fs/bcachefs/util.c
b/fs/bcachefs/util.c
index
42f565c
..
e0a876c
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);