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 159643 Details for
Bug 171712
A NFS export mounted using version 4 and TCP shows up as UDP in /proc/mounts
[?]
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]
upstream kernel patch -- show correct options for nfsv4
linux-2.6-nfsv4-mount-proto.patch (text/plain), 1.52 KB, created by
Jeff Layton
on 2007-07-20 11:36:40 UTC
(
hide
)
Description:
upstream kernel patch -- show correct options for nfsv4
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2007-07-20 11:36:40 UTC
Size:
1.52 KB
patch
obsolete
>commit 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e >Author: Trond Myklebust <Trond.Myklebust@netapp.com> >Date: Thu Aug 25 16:25:57 2005 -0700 > > NFS: Make /proc/mounts display the protocol used by NFSv4 > > Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> > >diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c >index 062911e..358d8ef 100644 >--- a/fs/nfs/inode.c >+++ b/fs/nfs/inode.c >@@ -595,7 +595,6 @@ static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) > { NFS_MOUNT_SOFT, ",soft", ",hard" }, > { NFS_MOUNT_INTR, ",intr", "" }, > { NFS_MOUNT_POSIX, ",posix", "" }, >- { NFS_MOUNT_TCP, ",tcp", ",udp" }, > { NFS_MOUNT_NOCTO, ",nocto", "" }, > { NFS_MOUNT_NOAC, ",noac", "" }, > { NFS_MOUNT_NONLM, ",nolock", ",lock" }, >@@ -604,6 +603,8 @@ static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) > }; > struct proc_nfs_info *nfs_infop; > struct nfs_server *nfss = NFS_SB(mnt->mnt_sb); >+ char buf[12]; >+ char *proto; > > seq_printf(m, ",v%d", nfss->rpc_ops->version); > seq_printf(m, ",rsize=%d", nfss->rsize); >@@ -622,6 +623,18 @@ static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) > else > seq_puts(m, nfs_infop->nostr); > } >+ switch (nfss->client->cl_xprt->prot) { >+ case IPPROTO_TCP: >+ proto = "tcp"; >+ break; >+ case IPPROTO_UDP: >+ proto = "udp"; >+ break; >+ default: >+ snprintf(buf, sizeof(buf), "%u", nfss->client->cl_xprt->prot); >+ proto = buf; >+ } >+ seq_printf(m, ",proto=%s", proto); > seq_puts(m, ",addr="); > seq_escape(m, nfss->hostname, " \t\n\\"); > return 0;
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 171712
:
120611
| 159643 |
159776
|
197391