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 876729 Details for
Bug 1074376
am-utils will no longer start due to missing NFSv2
[?]
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 - handle ENOENT umount return for autofs mounts
am-utils-6.1.5-handle-ENOENT-umount-return-for-autofs-mounts.patch (text/plain), 1.06 KB, created by
Ian Kent
on 2014-03-20 07:48:59 UTC
(
hide
)
Description:
Patch - handle ENOENT umount return for autofs mounts
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2014-03-20 07:48:59 UTC
Size:
1.06 KB
patch
obsolete
>am-utils-6.1.5 - handle ENOENT umount return for autofs mounts > >From: Ian Kent <ikent@redhat.com> > >An ENOENT return from umount(2) means the kernel path walk couldn't >resolve the path of the mount to a dentry. In that case there can't >be an autofs waitq entry waiting for notification, since there's no >dentry, so don't even try to notify the kernel. >--- > amd/map.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >diff --git a/amd/map.c b/amd/map.c >index 8e86b39..e6d14b8 100644 >--- a/amd/map.c >+++ b/amd/map.c >@@ -873,10 +873,12 @@ free_map_if_success(int rc, int term, opaque_t arg) > else > plog(XLOG_ERROR, "%s: unmount: %s", mp->am_path, strerror(rc)); > #ifdef HAVE_FS_AUTOFS >- if (mf->mf_flags & MFF_IS_AUTOFS) >- autofs_get_mp(mp); >- if (mp->am_flags & AMF_AUTOFS) >- autofs_umount_failed(mp); >+ if (rc != ENOENT) { >+ if (mf->mf_flags & MFF_IS_AUTOFS) >+ autofs_get_mp(mp); >+ if (mp->am_flags & AMF_AUTOFS) >+ autofs_umount_failed(mp); >+ } > #endif /* HAVE_FS_AUTOFS */ > amd_stats.d_uerr++; > } else {
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 1074376
:
876727
|
876728
| 876729 |
876730
|
876731
|
876732
|
876733
|
876735
|
876736