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
4ae01660
Commit
4ae01660
authored
Jan 15, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Print size of superblock with space allocated
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
a6548c8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
fs/bcachefs/super-io.c
fs/bcachefs/super-io.c
+3
-1
No files found.
fs/bcachefs/super-io.c
View file @
4ae01660
...
@@ -1320,7 +1320,9 @@ void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb,
...
@@ -1320,7 +1320,9 @@ void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb,
prt_printf
(
out
,
"Superblock size:"
);
prt_printf
(
out
,
"Superblock size:"
);
prt_tab
(
out
);
prt_tab
(
out
);
prt_printf
(
out
,
"%zu"
,
vstruct_bytes
(
sb
));
prt_units_u64
(
out
,
vstruct_bytes
(
sb
));
prt_str
(
out
,
"/"
);
prt_units_u64
(
out
,
512ULL
<<
sb
->
layout
.
sb_max_size_bits
);
prt_newline
(
out
);
prt_newline
(
out
);
prt_printf
(
out
,
"Clean:"
);
prt_printf
(
out
,
"Clean:"
);
...
...
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