]> rtime.felk.cvut.cz Git - linux-imx.git/commit
NFSv4.1: Clean up nfs4_free_slot
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 20 Nov 2012 19:17:32 +0000 (14:17 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 26 Nov 2012 22:49:53 +0000 (17:49 -0500)
commitf4af6e2abc8efb1695203a2b76876edf80f79960
tree0b3c50e8b3a850bd5886f51c98fc9e1c1d69e2ea
parent2dc03b7f00d7fcd7dbb9302c5ebbd0c2b7fa3557
NFSv4.1: Clean up nfs4_free_slot

Change the argument to take the pointer to the slot, instead of
just the slotid.

We know that the new value of highest_used_slot must be less than
the current value. No need to scan the whole table.

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