Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294646 Details for
Bug 432370
GFS2: -fatal: assertion "test_bit(HIF_HOLDER, &gh->gh_iflags)" failed
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A potential fix
idea.diff (text/plain), 1.20 KB, created by
Steve Whitehouse
on 2008-02-12 11:54:50 UTC
(
hide
)
Description:
A potential fix
Filename:
MIME Type:
Creator:
Steve Whitehouse
Created:
2008-02-12 11:54:50 UTC
Size:
1.20 KB
patch
obsolete
>diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c >index d00dc37..63981e2 100644 >--- a/fs/gfs2/glock.c >+++ b/fs/gfs2/glock.c >@@ -765,7 +765,6 @@ static void drop_bh(struct gfs2_glock *gl, unsigned int ret) > { > struct gfs2_sbd *sdp = gl->gl_sbd; > const struct gfs2_glock_operations *glops = gl->gl_ops; >- struct gfs2_holder *gh = gl->gl_req_gh; > > gfs2_assert_warn(sdp, test_bit(GLF_LOCK, &gl->gl_flags)); > gfs2_assert_warn(sdp, list_empty(&gl->gl_holders)); >@@ -776,23 +775,11 @@ static void drop_bh(struct gfs2_glock *gl, unsigned int ret) > if (glops->go_inval) > glops->go_inval(gl, DIO_METADATA); > >- if (gh) { >- spin_lock(&gl->gl_spin); >- list_del_init(&gh->gh_list); >- gh->gh_error = 0; >- spin_unlock(&gl->gl_spin); >- } >- > spin_lock(&gl->gl_spin); > gfs2_demote_wake(gl); >- gl->gl_req_gh = NULL; > clear_bit(GLF_LOCK, &gl->gl_flags); > spin_unlock(&gl->gl_spin); >- > gfs2_glock_put(gl); >- >- if (gh) >- gfs2_holder_wake(gh); > } > > /** >@@ -810,7 +797,7 @@ static void xmote_bh(struct gfs2_glock *gl, unsigned int ret) > int prev_state = gl->gl_state; > int op_done = 1; > >- if ((ret & LM_OUT_ST_MASK) == LM_ST_UNLOCKED) { >+ if (!gh && (ret & LM_OUT_ST_MASK) == LM_ST_UNLOCKED) { > drop_bh(gl, ret); > return; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 432370
:
294607
| 294646