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 672268 Details for
Bug 833535
autofs-5.0.6-19.fc17.x86_64 doesn't work with mock
[?]
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]
Patch - Fix sparse warning: context imbalance in autofs4_d_automount() different lock contexts for basic block
parse-warning-context-imbalance-in-autofs4_d_automount-different-lock-contexts-for-basic-block.patch (text/plain), 1.28 KB, created by
Ian Kent
on 2013-01-04 00:32:03 UTC
(
hide
)
Description:
Patch - Fix sparse warning: context imbalance in autofs4_d_automount() different lock contexts for basic block
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2013-01-04 00:32:03 UTC
Size:
1.28 KB
patch
obsolete
>autofs - Fix sparse warning: context imbalance in autofs4_d_automount() different lock contexts for basic block > >From: Peter Huewe <peterhuewe@gmx.de> > >Sparse complains: >+ fs/autofs4/root.c:409:9: sparse: context imbalance in >'autofs4_d_automount' - different lock contexts for basic block > >This was introduced by commit >f55fb0c243 autofs4 - dont clear DCACHE_NEED_AUTOMOUNT on rootless mount > >The function autofs4_d_automount can be left with the (&sbi->fs_lock) >held if sbi->version <= 4 and simple_empty(dentry) == false so the warning seems valid. > >--> Add an spin_unlock in this case before we jump to done > >Unfortunately compile tested only. > >Reported-by: Fengguang Wu <fengguang.wu@intel.com> >Signed-off-by: Peter Huewe <peterhuewe@gmx.de> >Acked-by: Ian Kent <raven@themaw.net> >--- > > fs/autofs4/root.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > >diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c >index c934476..74a299f 100644 >--- a/fs/autofs4/root.c >+++ b/fs/autofs4/root.c >@@ -383,8 +383,10 @@ static struct vfsmount *autofs4_d_automount(struct path *path) > goto done; > } > } else { >- if (!simple_empty(dentry)) >+ if (!simple_empty(dentry)) { >+ spin_unlock(&sbi->fs_lock); > goto done; >+ } > } > ino->flags |= AUTOFS_INF_PENDING; > spin_unlock(&sbi->fs_lock);
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 833535
:
593444
|
609140
|
610823
|
611990
|
625260
|
636456
|
641908
|
647703
|
647705
|
649476
| 672268 |
672270