diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-19 19:50:45 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-21 09:29:53 -0500 |
commit | 9216106a847a53e6d0fe6d11dfd9175f2ca7fccf (patch) | |
tree | 156d5c80974cf81f81856bd0e9b01a55613e1170 /fs/nfs/nfs4_fs.h | |
parent | 2d473d378eb571ad77f9563653639aa35e22d39c (diff) |
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/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index a525fdefccde..36880b9aa91e 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -258,6 +258,8 @@ extern int nfs4_proc_get_lease_time(struct nfs_client *clp, | |||
258 | extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, | 258 | extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, |
259 | bool sync); | 259 | bool sync); |
260 | 260 | ||
261 | extern struct nfs4_slot *nfs4_alloc_slots(u32 max_slots, gfp_t gfp_flags); | ||
262 | |||
261 | static inline bool | 263 | static inline bool |
262 | is_ds_only_client(struct nfs_client *clp) | 264 | is_ds_only_client(struct nfs_client *clp) |
263 | { | 265 | { |