]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
SUNRPC: Add an xdr_align_data() function
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 21 Apr 2020 15:27:00 +0000 (11:27 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 7 Oct 2020 18:28:40 +0000 (14:28 -0400)
commite6ac0accb27c6892b7ebc7799e7ce56b3390a678
tree0cdb7dcbc00c99d736dce47a3d334e7dc3a16405
parentc05eafad6b034772921e56de5c01df2326d9e3b3
SUNRPC: Add an xdr_align_data() function

For now, this function simply aligns the data at the beginning of the
pages. This can eventually be expanded to shift data to the correct
offsets when we're ready.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c