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 625260 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 reset pending flag on mount fail
autofs4-fix-reset-pending-flag-on-mount-fail.patch (text/plain), 1.10 KB, created by
Ian Kent
on 2012-10-11 00:31:22 UTC
(
hide
)
Description:
Patch - fix reset pending flag on mount fail
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2012-10-11 00:31:22 UTC
Size:
1.10 KB
patch
obsolete
>autofs4 - fix reset pending flag on mount fail > >From: Ian Kent <raven@themaw.net> > >In autofs4_d_automount(), if a mount fail occurs the AUTOFS_INF_PENDING >mount pending flag is not cleared. > >One effect of this is when using the "browse" option, directory entry >attributes show up with all "?"s due to the incorrect callback and >subsequent failure return (when in fact no callback should be made). > >Signed-off-by: Ian Kent <ikent@redhat.com> >Cc: stable@vger.kernel.org >--- > > fs/autofs4/root.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > >diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c >index e7396cf..91b1165 100644 >--- a/fs/autofs4/root.c >+++ b/fs/autofs4/root.c >@@ -392,10 +392,12 @@ static struct vfsmount *autofs4_d_automount(struct path *path) > ino->flags |= AUTOFS_INF_PENDING; > spin_unlock(&sbi->fs_lock); > status = autofs4_mount_wait(dentry); >- if (status) >- return ERR_PTR(status); > spin_lock(&sbi->fs_lock); > ino->flags &= ~AUTOFS_INF_PENDING; >+ if (status) { >+ spin_unlock(&sbi->fs_lock); >+ return ERR_PTR(status); >+ } > } > done: > if (!(ino->flags & AUTOFS_INF_EXPIRING)) {
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