提交 45eaa1c1 编写于 作者: J J. Bruce Fields

nfsd4: fix change attribute endianness

Though actually this doesn't matter much, as NFSv4.0 clients are
required to treat the change attribute as opaque.
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 d1829b38
......@@ -1674,12 +1674,12 @@ nfsd4_decode_compound(struct nfsd4_compoundargs *argp)
static void write32(__be32 **p, u32 n)
{
*(*p)++ = n;
*(*p)++ = htonl(n);
}
static void write64(__be32 **p, u64 n)
{
write32(p, (u32)(n >> 32));
write32(p, (n >> 32));
write32(p, (u32)n);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册