Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[powerpc.git] / fs / nfs / nfs3xdr.c
index a4437fb..0498bd3 100644 (file)
@@ -174,7 +174,6 @@ xdr_decode_fattr(u32 *p, struct nfs_fattr *fattr)
 
        /* Update the mode bits */
        fattr->valid |= (NFS_ATTR_FATTR | NFS_ATTR_FATTR_V3);
-       fattr->timestamp = jiffies;
        return p;
 }
 
@@ -677,7 +676,7 @@ nfs3_xdr_setaclargs(struct rpc_rqst *req, u32 *p,
        /* put as much of the acls into head as possible. */
        len_in_head = min_t(unsigned int, buf->head->iov_len - base, len);
        len -= len_in_head;
-       req->rq_slen = xdr_adjust_iovec(req->rq_svec, p + len_in_head);
+       req->rq_slen = xdr_adjust_iovec(req->rq_svec, p + (len_in_head >> 2));
 
        for (count = 0; (count << PAGE_SHIFT) < len; count++) {
                args->pages[count] = alloc_page(GFP_KERNEL);