Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61870
b: refs/heads/master
c: 0a87cf1
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and Trond Myklebust committed Jul 19, 2007
1 parent 58e086f commit cff7ae9
Show file tree
Hide file tree
Showing 2 changed files with 8 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: f9d888fcd9665b863fa042212a3ee7b4c51399f6
refs/heads/master: 0a87cf128f3d3bc6aa7b1040e73109c974ed875a
7 changes: 7 additions & 0 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,9 @@ static int nfs4_validate_mount_data(struct nfs4_mount_data **options,

dprintk("MNTPATH: %s\n", *mntpath);

if (args.client_address == NULL)
goto out_no_client_address;

*ip_addr = args.client_address;

break;
Expand All @@ -1705,6 +1708,10 @@ static int nfs4_validate_mount_data(struct nfs4_mount_data **options,
out_no_address:
dfprintk(MOUNT, "NFS4: mount program didn't pass remote address\n");
return -EINVAL;

out_no_client_address:
dfprintk(MOUNT, "NFS4: mount program didn't pass callback address\n");
return -EINVAL;
}

/*
Expand Down

0 comments on commit cff7ae9

Please sign in to comment.