Merge tag 'nfsd-5.11' of git://git.linux-nfs.org/projects/cel/cel-2.6
[linux-2.6-microblaze.git] / fs / nfs / flexfilelayout / flexfilelayout.c
index 24bf579..4252ce6 100644 (file)
@@ -378,7 +378,7 @@ ff_layout_alloc_lseg(struct pnfs_layout_hdr *lh,
 
        xdr_init_decode_pages(&stream, &buf, lgr->layoutp->pages,
                              lgr->layoutp->len);
-       xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE);
+       xdr_set_scratch_page(&stream, scratch);
 
        /* stripe unit and mirror_array_cnt */
        rc = -EIO;