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
nexedi
linux
Commits
891ba6d4
Commit
891ba6d4
authored
Sep 20, 2007
by
Steven Whitehouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[GFS2] Don't try to remove buffers that don't exist
Signed-off-by:
Steven Whitehouse
<
swhiteho@redhat.com
>
parent
7a9f53b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/gfs2/ops_address.c
fs/gfs2/ops_address.c
+1
-2
No files found.
fs/gfs2/ops_address.c
View file @
891ba6d4
...
...
@@ -747,7 +747,7 @@ int gfs2_releasepage(struct page *page, gfp_t gfp_mask)
struct
gfs2_bufdata
*
bd
;
if
(
!
page_has_buffers
(
page
))
goto
out
;
return
0
;
gfs2_log_lock
(
sdp
);
head
=
bh
=
page_buffers
(
page
);
...
...
@@ -787,7 +787,6 @@ int gfs2_releasepage(struct page *page, gfp_t gfp_mask)
bh
=
bh
->
b_this_page
;
}
while
(
bh
!=
head
);
out:
return
try_to_free_buffers
(
page
);
cannot_release:
gfs2_log_unlock
(
sdp
);
...
...
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