NFSv4: Replace state_owner->so_owner_id with an ida based allocator
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 18 Jan 2012 03:04:24 +0000 (22:04 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 31 Jan 2012 23:20:28 +0000 (18:20 -0500)
commit9157c31dd610a127bc6f01bc1953cf8b80382040
tree0552a17b2f047da4240a62d06b9fe58b162bad35
parentd1e284d50a1506aab8ad7895f31b5f93b5647fc9
NFSv4: Replace state_owner->so_owner_id with an ida based allocator

We're unlikely to ever need more than 2^31 simultaneous open owners,
so let's replace the custom allocator with the generic ida allocator.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
include/linux/nfs_fs_sb.h