From: Chuck Lever Date: Thu, 18 Jun 2009 01:02:10 +0000 (-0700) Subject: NFS: Return error code from nfs_callback_up() to user space X-Git-Tag: v2.6.31-rc1~58^2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21bdd9b960ccce421b63aa0e3efda4fcdc26f10;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed