Skip to content

Commit e764e68

Browse files
author
Kent Overstreet
committed
bcachefs: Fix bad shift in bch2_read_flag_list()
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 2007d28 commit e764e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ u64 bch2_read_flag_list(const char *opt, const char * const list[])
222222
break;
223223
}
224224

225-
ret |= 1 << flag;
225+
ret |= BIT_ULL(flag);
226226
}
227227

228228
kfree(d);

0 commit comments

Comments
 (0)