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
c2e639f0
Commit
c2e639f0
authored
Feb 04, 2008
by
Yan
Committed by
Chris Mason
Sep 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Fix typo in extent_io.c
--- Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
80b6794d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
fs/btrfs/extent_io.c
fs/btrfs/extent_io.c
+2
-2
fs/btrfs/inode.c
fs/btrfs/inode.c
+1
-2
No files found.
fs/btrfs/extent_io.c
View file @
c2e639f0
...
...
@@ -1416,7 +1416,7 @@ static int end_bio_extent_writepage(struct bio *bio,
* to the correct offsets in the file
*/
if
(
state
&&
(
state
->
end
+
1
!=
start
||
!
state
->
state
&
EXTENT_WRITEBACK
))
{
!
(
state
->
state
&
EXTENT_WRITEBACK
)
))
{
state
=
NULL
;
}
spin_unlock_irqrestore
(
&
tree
->
lock
,
flags
);
...
...
@@ -1539,7 +1539,7 @@ static int end_bio_extent_readpage(struct bio *bio,
* to the correct offsets in the file
*/
if
(
state
&&
(
state
->
end
+
1
!=
start
||
!
state
->
state
&
EXTENT_WRITEBACK
))
{
!
(
state
->
state
&
EXTENT_LOCKED
)
))
{
state
=
NULL
;
}
spin_unlock_irqrestore
(
&
tree
->
lock
,
flags
);
...
...
fs/btrfs/inode.c
View file @
c2e639f0
...
...
@@ -364,8 +364,7 @@ int btrfs_readpage_end_io_hook(struct page *page, u64 start, u64 end,
if
(
btrfs_test_opt
(
root
,
NODATASUM
)
||
btrfs_test_flag
(
inode
,
NODATASUM
))
return
0
;
if
(
state
->
start
==
start
)
{
if
(
state
&&
state
->
start
==
start
)
{
private
=
state
->
private
;
ret
=
0
;
}
else
{
...
...
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