summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust2012-09-21 02:31:51 +0200
committerTrond Myklebust2012-09-28 22:03:12 +0200
commit1f7977c1368afc483908281daaffd31bca5a8d1e (patch)
treeab8bcc2e66719825ee91a5559250fc21882cf397 /fs/nfs/nfs4_fs.h
parentNFSv4.1: Fix a race in the pNFS return-on-close code (diff)
downloadkernel-qcow2-linux-1f7977c1368afc483908281daaffd31bca5a8d1e.tar.gz
kernel-qcow2-linux-1f7977c1368afc483908281daaffd31bca5a8d1e.tar.xz
kernel-qcow2-linux-1f7977c1368afc483908281daaffd31bca5a8d1e.zip
NFSv4.1: Simplify the pNFS return-on-close code
Confine it to the nfs4_do_close() code. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 71d407fd00a5..9cacc131a8a4 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -223,7 +223,7 @@ extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred);
extern int nfs4_destroy_clientid(struct nfs_client *clp);
extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *);
extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *);
-extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait, bool roc);
+extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait);
extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
extern int nfs4_proc_fs_locations(struct rpc_clnt *, struct inode *, const struct qstr *,
struct nfs4_fs_locations *, struct page *);