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 690282 Details for
Bug 905572
GFS2: suspicious RCU usage during mount
[?]
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]
Proposed fix
rcu-fix.diff (text/plain), 1.04 KB, created by
Steve Whitehouse
on 2013-01-30 10:52:37 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Steve Whitehouse
Created:
2013-01-30 10:52:37 UTC
Size:
1.04 KB
patch
obsolete
>diff --git a/include/linux/list_bl.h b/include/linux/list_bl.h >index 31f9d75..2eb8855 100644 >--- a/include/linux/list_bl.h >+++ b/include/linux/list_bl.h >@@ -125,6 +125,11 @@ static inline void hlist_bl_unlock(struct hlist_bl_head *b) > __bit_spin_unlock(0, (unsigned long *)b); > } > >+static inline bool hlist_bl_is_locked(struct hlist_bl_head *b) >+{ >+ return bit_spin_is_locked(0, (unsigned long *)b); >+} >+ > /** > * hlist_bl_for_each_entry - iterate over list of given type > * @tpos: the type * to use as a loop cursor. >diff --git a/include/linux/rculist_bl.h b/include/linux/rculist_bl.h >index cf1244f..4f216c5 100644 >--- a/include/linux/rculist_bl.h >+++ b/include/linux/rculist_bl.h >@@ -20,7 +20,7 @@ static inline void hlist_bl_set_first_rcu(struct hlist_bl_head *h, > static inline struct hlist_bl_node *hlist_bl_first_rcu(struct hlist_bl_head *h) > { > return (struct hlist_bl_node *) >- ((unsigned long)rcu_dereference(h->first) & ~LIST_BL_LOCKMASK); >+ ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); > } > > /**
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 905572
: 690282