jffs2: fix lockdep warning
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | jffs2: avoid unnecessarily taking f->semfs/ | +1 | 1 reply | |
| 2/3 | jffs2: jffs2_iget defer f->sem acquisitionfs/ | +3 | 1 reply | |
| 3/3 | jffs2: put directories f->sem on a separate lockdep classfs/ fs/ | +15 | 4 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Richard Weinberger |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] jffs2: fix lockdep warning
This patch series essentially fixes a false positive lockdep warning. The issue is known since 2012, referenced and fixed in the third patch. The other two patches subtly change the locking semantics on order to make the third patch feasible.
I would like thank Peter Zijlstra for his precise guiding on where to look. His first guess on what is going nailed it.
Helmut Grohne (3):
jffs2: avoid unnecessarily taking f->sem
jffs2: jffs2_iget defer f->sem acquisition
jffs2: put directories f->sem on a separate lockdep class
fs/jffs2/fs.c | 16 +++++++++++++++- fs/jffs2/readinode.c | 4 +--- fs/jffs2/super.c | 3 +++ 3 files changed, 19 insertions(+), 4 deletions(-)
Signature · 1 line
2.11.0