diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-03-15 03:48:27 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-04-10 22:06:22 +0200 |
commit | aae5730e2d32d779b31c81fa62e79c8e3bba1ac2 (patch) | |
tree | f8b3fe99694ce89a8b2de350033c828d9141ee4e /fs/nfs/sysctl.c | |
parent | NFSv4: Fix the nfs_inode_set_delegation() arguments (diff) | |
download | linux-aae5730e2d32d779b31c81fa62e79c8e3bba1ac2.tar.xz linux-aae5730e2d32d779b31c81fa62e79c8e3bba1ac2.zip |
nfs: Use ida_simple API
Allocate the owner_id when we allocate the state and free it when we free
the state. That lets us get rid of a gnarly ida_pre_get() / ida_get_new()
loop.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/sysctl.c')
0 files changed, 0 insertions, 0 deletions