Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Mayer
u-boot
Commits
3aee11c8
Commit
3aee11c8
authored
8 years ago
by
Tom Rini
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-ubi
parents
65341967
b1d6590d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/mtd/ubi/wl.c
+1
-1
1 addition, 1 deletion
drivers/mtd/ubi/wl.c
fs/ubifs/super.c
+1
-2
1 addition, 2 deletions
fs/ubifs/super.c
with
2 additions
and
3 deletions
drivers/mtd/ubi/wl.c
+
1
−
1
View file @
3aee11c8
...
...
@@ -1528,6 +1528,7 @@ int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)
INIT_LIST_HEAD
(
&
ubi
->
pq
[
i
]);
ubi
->
pq_head
=
0
;
ubi
->
free_count
=
0
;
list_for_each_entry_safe
(
aeb
,
tmp
,
&
ai
->
erase
,
u
.
list
)
{
cond_resched
();
...
...
@@ -1546,7 +1547,6 @@ int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)
found_pebs
++
;
}
ubi
->
free_count
=
0
;
list_for_each_entry
(
aeb
,
&
ai
->
free
,
u
.
list
)
{
cond_resched
();
...
...
This diff is collapsed.
Click to expand it.
fs/ubifs/super.c
+
1
−
2
View file @
3aee11c8
...
...
@@ -48,7 +48,6 @@ struct vfsmount;
#define INODE_LOCKED_MAX 64
struct
super_block
*
ubifs_sb
;
LIST_HEAD
(
super_blocks
);
static
struct
inode
*
inodes_locked_down
[
INODE_LOCKED_MAX
];
...
...
@@ -2425,10 +2424,10 @@ retry:
s
->
s_type
=
type
;
#ifndef __UBOOT__
strlcpy
(
s
->
s_id
,
type
->
name
,
sizeof
(
s
->
s_id
));
list_add_tail
(
&
s
->
s_list
,
&
super_blocks
);
#else
strncpy
(
s
->
s_id
,
type
->
name
,
sizeof
(
s
->
s_id
));
#endif
list_add_tail
(
&
s
->
s_list
,
&
super_blocks
);
hlist_add_head
(
&
s
->
s_instances
,
&
type
->
fs_supers
);
#ifndef __UBOOT__
spin_unlock
(
&
sb_lock
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment