Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6e430f94
Commit
6e430f94
authored
Dec 02, 2008
by
Christoph Hellwig
Committed by
Chris Mason
Dec 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: fix shadowed variable declarations
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
b2950863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
fs/btrfs/disk-io.c
fs/btrfs/disk-io.c
+0
-1
fs/btrfs/file.c
fs/btrfs/file.c
+4
-4
No files found.
fs/btrfs/disk-io.c
View file @
6e430f94
...
...
@@ -1734,7 +1734,6 @@ struct btrfs_root *open_ctree(struct super_block *sb,
goto
fail_cleaner
;
if
(
btrfs_super_log_root
(
disk_super
)
!=
0
)
{
u32
blocksize
;
u64
bytenr
=
btrfs_super_log_root
(
disk_super
);
if
(
fs_devices
->
rw_devices
==
0
)
{
...
...
fs/btrfs/file.c
View file @
6e430f94
...
...
@@ -662,18 +662,18 @@ next_slot:
}
if
(
found_extent
&&
!
keep
)
{
u64
disk_bytenr
=
le64_to_cpu
(
old
.
disk_bytenr
);
u64
old_
disk_bytenr
=
le64_to_cpu
(
old
.
disk_bytenr
);
if
(
disk_bytenr
!=
0
)
{
if
(
old_
disk_bytenr
!=
0
)
{
inode_sub_bytes
(
inode
,
le64_to_cpu
(
old
.
num_bytes
));
ret
=
btrfs_free_extent
(
trans
,
root
,
disk_bytenr
,
old_
disk_bytenr
,
le64_to_cpu
(
old
.
disk_num_bytes
),
leaf_start
,
root_owner
,
root_gen
,
key
.
objectid
,
0
);
BUG_ON
(
ret
);
*
hint_byte
=
disk_bytenr
;
*
hint_byte
=
old_
disk_bytenr
;
}
}
...
...
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