Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206417
b: refs/heads/master
c: d5eff1a
h: refs/heads/master
i:
  206415: 77586e7
v: v3
  • Loading branch information
Bryan Schumaker authored and Trond Myklebust committed Aug 6, 2010
1 parent efb37ff commit 87ea601
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 761fe93cdfa29071879d882c92e966ae692c0048
refs/heads/master: d5eff1a3412f6d75bf28f423c5015ece8055407a
4 changes: 4 additions & 0 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss,
{
struct sockaddr *sap = (struct sockaddr *)&nfss->mountd_address;

if (nfss->flags & NFS_MOUNT_LEGACY_INTERFACE)
return;

switch (sap->sa_family) {
case AF_INET: {
struct sockaddr_in *sin = (struct sockaddr_in *)sap;
Expand Down Expand Up @@ -1780,6 +1783,7 @@ static int nfs_validate_mount_data(void *options,
* can deal with.
*/
args->flags = data->flags & NFS_MOUNT_FLAGMASK;
args->flags |= NFS_MOUNT_LEGACY_INTERFACE;
args->rsize = data->rsize;
args->wsize = data->wsize;
args->timeo = data->timeo;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/nfs_mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@ struct nfs_mount_data {
#define NFS_MOUNT_LOOKUP_CACHE_NONEG 0x10000
#define NFS_MOUNT_LOOKUP_CACHE_NONE 0x20000
#define NFS_MOUNT_NORESVPORT 0x40000
#define NFS_MOUNT_LEGACY_INTERFACE 0x80000

#endif

0 comments on commit 87ea601

Please sign in to comment.