NFSv4.1: Simplify slot allocation
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 16 Nov 2012 21:10:11 +0000 (16:10 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 26 Nov 2012 22:49:52 +0000 (17:49 -0500)
commit2dc03b7f00d7fcd7dbb9302c5ebbd0c2b7fa3557
tree9ee6ff8757e435cf153751fd7889c5499a429ffa
parent2b2fa71723f955d5b4a0f4edd99cf3cd69ceafd1
NFSv4.1: Simplify slot allocation

Clean up the NFSv4.1 slot allocation by replacing nfs_find_slot() with
a function nfs_alloc_slot() that returns a pointer to the nfs4_slot
instead of an offset into the slot table.

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