OSDN Git Service

nfsd: skip CB_NULL probes for 4.1 or later
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Apr 2015 09:49:25 +0000 (11:49 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 4 May 2015 16:02:42 +0000 (12:02 -0400)
commit4bd9e9b77fc6787c45b8bb439f6511aa3478606c
tree466a0765e28b543e2a55e7e51d712bfc9e52b82c
parentcba5f62b1830c1919b47544789bc993e6e617dc6
nfsd: skip CB_NULL probes for 4.1 or later

With sessions in v4.1 or later we don't need to manually probe the backchannel
connection, so we can declare it up instantly after setting up the RPC client.

Note that we really should split nfsd4_run_cb_work in the long run, this is
just the least intrusive fix for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c