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
e07bf553
Commit
e07bf553
authored
Mar 17, 2010
by
Joern Engel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plug memory leak in writeseg_end_io
Signed-off-by:
Joern Engel
<
joern@logfs.org
>
parent
59fe27c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fs/logfs/dev_bdev.c
fs/logfs/dev_bdev.c
+1
-0
No files found.
fs/logfs/dev_bdev.c
View file @
e07bf553
...
@@ -80,6 +80,7 @@ static void writeseg_end_io(struct bio *bio, int err)
...
@@ -80,6 +80,7 @@ static void writeseg_end_io(struct bio *bio, int err)
prefetchw
(
&
bvec
->
bv_page
->
flags
);
prefetchw
(
&
bvec
->
bv_page
->
flags
);
end_page_writeback
(
page
);
end_page_writeback
(
page
);
page_cache_release
(
page
);
}
while
(
bvec
>=
bio
->
bi_io_vec
);
}
while
(
bvec
>=
bio
->
bi_io_vec
);
bio_put
(
bio
);
bio_put
(
bio
);
if
(
atomic_dec_and_test
(
&
super
->
s_pending_writes
))
if
(
atomic_dec_and_test
(
&
super
->
s_pending_writes
))
...
...
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