diff options
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r-- | include/linux/nfs_page.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index e27572d30d97..ad69430fd0eb 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h | |||
@@ -164,6 +164,16 @@ nfs_list_add_request(struct nfs_page *req, struct list_head *head) | |||
164 | list_add_tail(&req->wb_list, head); | 164 | list_add_tail(&req->wb_list, head); |
165 | } | 165 | } |
166 | 166 | ||
167 | /** | ||
168 | * nfs_list_move_request - Move a request to a new list | ||
169 | * @req: request | ||
170 | * @head: head of list into which to insert the request. | ||
171 | */ | ||
172 | static inline void | ||
173 | nfs_list_move_request(struct nfs_page *req, struct list_head *head) | ||
174 | { | ||
175 | list_move_tail(&req->wb_list, head); | ||
176 | } | ||
167 | 177 | ||
168 | /** | 178 | /** |
169 | * nfs_list_remove_request - Remove a request from its wb_list | 179 | * nfs_list_remove_request - Remove a request from its wb_list |