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
nexedi
linux
Commits
5c680ed6
Commit
5c680ed6
authored
Feb 22, 2007
by
Chris Mason
Committed by
David Woodhouse
Feb 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: switch to early splits
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
cfaa7295
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
146 deletions
+120
-146
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+118
-145
fs/btrfs/disk-io.c
fs/btrfs/disk-io.c
+2
-1
No files found.
fs/btrfs/ctree.c
View file @
5c680ed6
This diff is collapsed.
Click to expand it.
fs/btrfs/disk-io.c
View file @
5c680ed6
...
...
@@ -149,7 +149,8 @@ struct ctree_root *open_ctree(char *filename, struct ctree_super_block *super)
}
ret
=
pread
(
fp
,
super
,
sizeof
(
struct
ctree_super_block
),
CTREE_SUPER_INFO_OFFSET
(
CTREE_BLOCKSIZE
));
if
(
ret
==
0
)
{
if
(
ret
==
0
||
super
->
root_info
.
tree_root
==
0
)
{
printf
(
"making new FS!
\n
"
);
ret
=
mkfs
(
fp
);
if
(
ret
)
return
NULL
;
...
...
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