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 173321 Details for
Bug 174821
autofs problem with symbolic links
[?]
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 to sync autofs4 with upstream
autofs4-rhel-4-56-lookup-expire-race-fix-3.patch (text/plain), 1.28 KB, created by
Ian Kent
on 2007-08-27 07:29:45 UTC
(
hide
)
Description:
Patch to sync autofs4 with upstream
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2007-08-27 07:29:45 UTC
Size:
1.28 KB
patch
obsolete
>--- linux-2.6.9/fs/autofs4/root.c.lookup-expire-race-fix-3 2007-08-27 15:20:56.000000000 +0800 >+++ linux-2.6.9/fs/autofs4/root.c 2007-08-27 15:21:21.000000000 +0800 >@@ -567,7 +567,6 @@ static struct dentry *autofs4_lookup(str > struct autofs_sb_info *sbi; > struct dentry *unhashed; > int oz_mode; >- struct dentry *parent = dentry->d_parent; > > DPRINTK("name = %.*s", > dentry->d_name.len, dentry->d_name.name); >@@ -657,9 +656,6 @@ static struct dentry *autofs4_lookup(str > * be OK for the operations we permit from an autofs. > */ > if (dentry->d_inode && d_unhashed(dentry)) { >- struct dentry *new; >- if (unhashed) >- dput(unhashed); > /* > * In the case of replicated server entries, if a mount > * attempt fails, the daemon will remove the directory and >@@ -667,9 +663,17 @@ static struct dentry *autofs4_lookup(str > * but a successful mount! As such, we perform another > * cache lookup for the dentry here. > */ >- if ((new = d_lookup(parent, &dentry->d_name)) != NULL) >- return new; >- return ERR_PTR(-ENOENT); >+ struct dentry *parent = dentry->d_parent; >+ struct dentry *new = d_lookup(parent, &dentry->d_name); >+ if (new != NULL) >+ dentry = new; >+ else >+ dentry = ERR_PTR(-ENOENT); >+ >+ if (unhashed) >+ dput(unhashed); >+ >+ return dentry; > } > > if (unhashed)
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 174821
:
146977
|
147032
|
152874
|
161842
| 173321 |
173361