diff options
author | Chuck Lever <[email protected]> | 2009-06-17 18:02:10 -0700 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2009-06-17 18:02:10 -0700 |
commit | a21bdd9b960ccce421b63aa0e3efda4fcdc26f10 (patch) | |
tree | 5ce808e08fb64140389aa96e2940f1c53468dd12 /net/unix/af_unix.c | |
parent | c381ad2cf2d5dcd3991bcc8a18fddd9d5c66ccaa (diff) |
NFS: Return error code from nfs_callback_up() to user space
If the kernel cannot start the NFSv4 callback service during a mount
request, it returns -ENOMEM to user space, resulting in this message:
mount.nfs4: Cannot allocate memory
Adjust nfs_alloc_client() and nfs_get_client() to pass NFSv4 callback
start-up errors back to user space so a less mysterious error message
can be displayed by the mount command.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions