Merge tag 'nfsd-5.11' of git://git.linux-nfs.org/projects/cel/cel-2.6
[linux-2.6-microblaze.git] / fs / nfs / nfs42xdr.c
index 8432bd6..ea7dd8c 100644 (file)
@@ -1539,7 +1539,7 @@ static int nfs4_xdr_dec_listxattrs(struct rpc_rqst *rqstp,
        struct compound_hdr hdr;
        int status;
 
-       xdr_set_scratch_buffer(xdr, page_address(res->scratch), PAGE_SIZE);
+       xdr_set_scratch_page(xdr, res->scratch);
 
        status = decode_compound_hdr(xdr, &hdr);
        if (status)