summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_page.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-09 14:04:55 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-09 15:17:43 -0400
commit1d1afcbc294cc7c788eb5c7b6b98e8d63caf002c (patch)
tree88abc7e7018f733410fa51039351e4f0e2dd84c3 /include/linux/nfs_page.h
parent7ad84aa9448571678c243f0c5ef383fbe5b50f4f (diff)
downloadlinux-1d1afcbc294cc7c788eb5c7b6b98e8d63caf002c.tar.gz
linux-1d1afcbc294cc7c788eb5c7b6b98e8d63caf002c.tar.bz2
linux-1d1afcbc294cc7c788eb5c7b6b98e8d63caf002c.zip
NFS: Clean up - Rename nfs_unlock_request and nfs_unlock_request_dont_release
Function rename to ensure that the functionality of nfs_unlock_request() mirrors that of nfs_lock_request(). Then let nfs_unlock_and_release_request() do the work of what used to be called nfs_unlock_request()... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Fred Isaman <iisaman@netapp.com>
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r--include/linux/nfs_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index 263f30a5e10d..88d166b555e8 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -96,7 +96,7 @@ extern bool nfs_generic_pg_test(struct nfs_pageio_descriptor *desc,
struct nfs_page *req);
extern int nfs_wait_on_request(struct nfs_page *);
extern void nfs_unlock_request(struct nfs_page *req);
-extern void nfs_unlock_request_dont_release(struct nfs_page *req);
+extern void nfs_unlock_and_release_request(struct nfs_page *req);
/*
* Lock the page of an asynchronous request