X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fnfs_page.h;h=30dbcc185e6972829967562693eb75eb101f53b6;hb=febb187761b02fce7d61b9c897d0e701f672b5ee;hp=481a42105d692674fd6bfabfc26725427216c0b2;hpb=5c36968343fcd013a3f7ae93f246c2e75596780b;p=linux-2.6 diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index 481a42105d..30dbcc185e 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h @@ -30,12 +30,10 @@ #define PG_BUSY 0 #define PG_NEED_COMMIT 1 #define PG_NEED_RESCHED 2 -#define PG_NEED_FLUSH 3 struct nfs_inode; struct nfs_page { - struct list_head wb_list, /* Defines state of page: */ - *wb_list_head; /* read/write/commit */ + struct list_head wb_list; /* Defines state of page: */ struct page *wb_page; /* page to read in/write out */ struct nfs_open_context *wb_context; /* File state context info */ atomic_t wb_complete; /* i/os we're waiting for */ @@ -118,7 +116,6 @@ static inline void nfs_list_add_request(struct nfs_page *req, struct list_head *head) { list_add_tail(&req->wb_list, head); - req->wb_list_head = head; } @@ -132,7 +129,6 @@ nfs_list_remove_request(struct nfs_page *req) if (list_empty(&req->wb_list)) return; list_del_init(&req->wb_list); - req->wb_list_head = NULL; } static inline struct nfs_page *