NFSv4.1: Clean up nfs41_sequence_done
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 29 Jan 2014 17:24:03 +0000 (12:24 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 29 Jan 2014 17:24:03 +0000 (12:24 -0500)
commita13ce7c629366880c1072d4d113d3dab6c53510d
tree130afc3a1c81b1f55bafd128da553cc3452fc68a
parentcab92c19821a814ecf5a5279e2699bf28e66caee
NFSv4.1: Clean up nfs41_sequence_done

Move the test for res->sr_slot == NULL out of the nfs41_sequence_free_slot
helper and into the main function for efficiency.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c