]> Pileus Git - ~andy/linux/blobdiff - include/linux/nfs_page.h
NFS: remove NFS_PAGE_TAG_LOCKED
[~andy/linux] / include / linux / nfs_page.h
index e2791a27a901ec046f6eff6082b48a06a63b91c8..65b563f0903a608c0ff008349f2daeb6e097b2f6 100644 (file)
@@ -21,7 +21,6 @@
 /*
  * Valid flags for the radix tree
  */
-#define NFS_PAGE_TAG_LOCKED    0
 #define NFS_PAGE_TAG_COMMIT    1
 
 /*
@@ -34,6 +33,7 @@ enum {
        PG_NEED_COMMIT,
        PG_NEED_RESCHED,
        PG_PNFS_COMMIT,
+       PG_PARTIAL_READ_FAILED,
 };
 
 struct nfs_inode;
@@ -105,8 +105,6 @@ 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 int nfs_set_page_tag_locked(struct nfs_page *req);
-extern  void nfs_clear_page_tag_locked(struct nfs_page *req);
 
 /*
  * Lock the page of an asynchronous request without getting a new reference