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 148532 Details for
Bug 228076
kernel spinlock panic in inode.c
[?]
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]
Proposed patch
228076.rhel-4 (text/plain), 1.11 KB, created by
Peter Staubach
on 2007-02-21 20:09:05 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Peter Staubach
Created:
2007-02-21 20:09:05 UTC
Size:
1.11 KB
patch
obsolete
>--- linux-2.6.9/fs/nfs/inode.c.org >+++ linux-2.6.9/fs/nfs/inode.c >@@ -696,14 +698,11 @@ static int nfs_show_stats(struct seq_fil > /* > * Invalidate the local caches > */ >-void >-nfs_zap_caches(struct inode *inode) >+void nfs_zap_caches_locked(struct inode *inode) > { > struct nfs_inode *nfsi = NFS_I(inode); > int mode = inode->i_mode; > >- spin_lock(&inode->i_lock); >- > nfs_inc_stats(inode, NFSIOS_ATTRINVALIDATE); > > NFS_ATTRTIMEO(inode) = NFS_MINATTRTIMEO(inode); >@@ -714,7 +713,12 @@ nfs_zap_caches(struct inode *inode) > nfsi->cache_validity |= NFS_INO_INVALID_ATTR|NFS_INO_INVALID_DATA|NFS_INO_INVALID_ACCESS|NFS_INO_INVALID_ACL|NFS_INO_REVAL_PAGECACHE; > else > nfsi->cache_validity |= NFS_INO_INVALID_ATTR|NFS_INO_INVALID_ACCESS|NFS_INO_INVALID_ACL|NFS_INO_REVAL_PAGECACHE; >+} > >+void nfs_zap_caches(struct inode *inode) >+{ >+ spin_lock(&inode->i_lock); >+ nfs_zap_caches_locked(inode); > spin_unlock(&inode->i_lock); > } > >@@ -740,7 +744,7 @@ nfs_invalidate_inode(struct inode *inode > > make_bad_inode(inode); > inode->i_mode = save_mode; >- nfs_zap_caches(inode); >+ nfs_zap_caches_locked(inode); > } > > struct nfs_find_desc {
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 228076
: 148532