]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Check return value from rpc_queue_upcall()
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 12 Mar 2012 15:33:00 +0000 (11:33 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 12 Mar 2012 16:51:42 +0000 (12:51 -0400)
commitd3ec2be81726047b22301759cb269d26abb7b0c4
treef1f0f598ee239edd9e423bc745d1be77641ce36c
parenta849f38337232235f9b8b6c7a113d175c06523b7
NFS: Check return value from rpc_queue_upcall()

This function could fail to queue the upcall if rpc.idmapd is not running,
causing a warning message to be printed.  Instead, I want to check the
return value and revoke the key if the upcall can't be run.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c