summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-20 01:50:45 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-21 15:29:53 +0100
commit9216106a847a53e6d0fe6d11dfd9175f2ca7fccf (patch)
tree156d5c80974cf81f81856bd0e9b01a55613e1170 /fs/nfs/nfs4proc.c
parentNFSv4.1: nfs4_alloc_slots doesn't need zeroing (diff)
downloadlinux-9216106a847a53e6d0fe6d11dfd9175f2ca7fccf.tar.xz
linux-9216106a847a53e6d0fe6d11dfd9175f2ca7fccf.zip
NFSv4.1: clean up nfs4_recall_slot to use nfs4_alloc_slots
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 0402ebb9b490..5e5cc5a5065f 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -5656,7 +5656,7 @@ int nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo)
return status;
}
-static struct nfs4_slot *nfs4_alloc_slots(u32 max_slots, gfp_t gfp_flags)
+struct nfs4_slot *nfs4_alloc_slots(u32 max_slots, gfp_t gfp_flags)
{
return kmalloc_array(max_slots, sizeof(struct nfs4_slot), gfp_flags);
}