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
9510dc4c
Commit
9510dc4c
authored
Nov 04, 2011
by
Ilya Dryomov
Committed by
Chris Mason
Nov 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: stop leaking btrfs_bios on readahead
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
306c8b68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/btrfs/reada.c
fs/btrfs/reada.c
+2
-0
No files found.
fs/btrfs/reada.c
View file @
9510dc4c
...
...
@@ -423,6 +423,7 @@ static struct reada_extent *reada_find_extent(struct btrfs_root *root,
}
spin_unlock
(
&
fs_info
->
reada_lock
);
kfree
(
multi
);
return
re
;
error:
...
...
@@ -447,6 +448,7 @@ static struct reada_extent *reada_find_extent(struct btrfs_root *root,
kref_put
(
&
zone
->
refcnt
,
reada_zone_release
);
spin_unlock
(
&
fs_info
->
reada_lock
);
}
kfree
(
multi
);
kfree
(
re
);
if
(
looped
)
goto
again
;
...
...
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