Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
812af308
Commit
812af308
authored
Mar 07, 2019
by
Kent Overstreet
Committed by
Kent Overstreet
Oct 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: assertion to catch outstanding bug
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
b5d05635
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
fs/bcachefs/super-io.c
fs/bcachefs/super-io.c
+4
-1
No files found.
fs/bcachefs/super-io.c
View file @
812af308
...
...
@@ -1027,7 +1027,10 @@ void bch2_fs_mark_clean(struct bch_fs *c, bool clean)
sb_clean
->
flags
=
0
;
sb_clean
->
read_clock
=
cpu_to_le16
(
c
->
bucket_clock
[
READ
].
hand
);
sb_clean
->
write_clock
=
cpu_to_le16
(
c
->
bucket_clock
[
WRITE
].
hand
);
sb_clean
->
journal_seq
=
journal_cur_seq
(
&
c
->
journal
)
-
1
;
sb_clean
->
journal_seq
=
cpu_to_le64
(
journal_cur_seq
(
&
c
->
journal
)
-
1
);
/* Trying to catch outstanding bug: */
BUG_ON
(
le64_to_cpu
(
sb_clean
->
journal_seq
)
>
S64_MAX
);
entry
=
sb_clean
->
start
;
entry
=
bch2_journal_super_entries_add_common
(
c
,
entry
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment