diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-06-17 18:02:10 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-06-17 18:02:10 -0700 |
commit | a21bdd9b960ccce421b63aa0e3efda4fcdc26f10 (patch) | |
tree | 5ce808e08fb64140389aa96e2940f1c53468dd12 /fs/nfs/callback.c | |
parent | c381ad2cf2d5dcd3991bcc8a18fddd9d5c66ccaa (diff) | |
download | op-kernel-dev-a21bdd9b960ccce421b63aa0e3efda4fcdc26f10.zip op-kernel-dev-a21bdd9b960ccce421b63aa0e3efda4fcdc26f10.tar.gz |
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 <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.c')
0 files changed, 0 insertions, 0 deletions