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
10b93677
Commit
10b93677
authored
Feb 19, 2022
by
Kent Overstreet
Committed by
Kent Overstreet
Oct 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Delete some flag bits that are no longer used
Signed-off-by:
Kent Overstreet
<
kent.overstreet@gmail.com
>
parent
72b7d633
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
8 deletions
+0
-8
fs/bcachefs/bcachefs.h
fs/bcachefs/bcachefs.h
+0
-2
fs/bcachefs/recovery.c
fs/bcachefs/recovery.c
+0
-3
fs/bcachefs/super-io.c
fs/bcachefs/super-io.c
+0
-3
No files found.
fs/bcachefs/bcachefs.h
View file @
10b93677
...
...
@@ -507,8 +507,6 @@ struct bch_dev {
enum
{
/* startup: */
BCH_FS_INITIALIZED
,
BCH_FS_ALLOC_READ_DONE
,
BCH_FS_ALLOC_CLEAN
,
BCH_FS_ALLOCATOR_RUNNING
,
BCH_FS_ALLOCATOR_STOPPING
,
...
...
fs/bcachefs/recovery.c
View file @
10b93677
...
...
@@ -1129,8 +1129,6 @@ int bch2_fs_recovery(struct bch_fs *c)
goto
err
;
bch_verbose
(
c
,
"stripes_read done"
);
set_bit
(
BCH_FS_ALLOC_READ_DONE
,
&
c
->
flags
);
/*
* If we're not running fsck, this ensures bch2_fsck_err() calls are
* instead interpreted as bch2_inconsistent_err() calls:
...
...
@@ -1315,7 +1313,6 @@ int bch2_fs_initialize(struct bch_fs *c)
}
mutex_unlock
(
&
c
->
sb_lock
);
set_bit
(
BCH_FS_ALLOC_READ_DONE
,
&
c
->
flags
);
set_bit
(
BCH_FS_INITIAL_GC_DONE
,
&
c
->
flags
);
set_bit
(
BCH_FS_FSCK_DONE
,
&
c
->
flags
);
...
...
fs/bcachefs/super-io.c
View file @
10b93677
...
...
@@ -461,9 +461,6 @@ int bch2_sb_to_fs(struct bch_fs *c, struct bch_sb *src)
__copy_super
(
&
c
->
disk_sb
,
src
);
if
(
BCH_SB_INITIALIZED
(
c
->
disk_sb
.
sb
))
set_bit
(
BCH_FS_INITIALIZED
,
&
c
->
flags
);
ret
=
bch2_sb_replicas_to_cpu_replicas
(
c
);
if
(
ret
)
return
ret
;
...
...
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