}
 
 int ocfs2_write_end_nolock(struct address_space *mapping,
-                          loff_t pos, unsigned len, unsigned copied,
-                          struct page *page, void *fsdata)
+                          loff_t pos, unsigned len, unsigned copied, void *fsdata)
 {
        int i, ret;
        unsigned from, to, start = pos & (PAGE_SIZE - 1);
        int ret;
        struct inode *inode = mapping->host;
 
-       ret = ocfs2_write_end_nolock(mapping, pos, len, copied, page, fsdata);
+       ret = ocfs2_write_end_nolock(mapping, pos, len, copied, fsdata);
 
        up_write(&OCFS2_I(inode)->ip_alloc_sem);
        ocfs2_inode_unlock(inode, 1);
                dwc->dw_zero_count++;
        }
 
-       ret = ocfs2_write_end_nolock(inode->i_mapping, pos, len, len, NULL, wc);
+       ret = ocfs2_write_end_nolock(inode->i_mapping, pos, len, len, wc);
        BUG_ON(ret != len);
        ret = 0;
 unlock:
 
                                        struct buffer_head *bh));
 
 int ocfs2_write_end_nolock(struct address_space *mapping,
-                          loff_t pos, unsigned len, unsigned copied,
-                          struct page *page, void *fsdata);
+                          loff_t pos, unsigned len, unsigned copied, void *fsdata);
 
 typedef enum {
        OCFS2_WRITE_BUFFER = 0,
 
                ret = VM_FAULT_NOPAGE;
                goto out;
        }
-       ret = ocfs2_write_end_nolock(mapping, pos, len, len, locked_page,
-                                    fsdata);
+       ret = ocfs2_write_end_nolock(mapping, pos, len, len, fsdata);
        BUG_ON(ret != len);
        ret = VM_FAULT_LOCKED;
 out: