Whamcloud - gitweb
LU-16802 build: compatibility for 6.4 kernels 75/50875/13
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 27 Oct 2023 06:21:13 +0000 (01:21 -0500)
committerJian Yu <yujian@whamcloud.com>
Mon, 13 Nov 2023 16:53:59 +0000 (16:53 +0000)
commit7abd94aa3232f5b26dfddfad0f3fe61c94cecb37
tree4c916e7009f702bff3234cf8e415cc18956f0dbc
parent6521c313f74d15efe78fffaff65b40cef48d4081
LU-16802 build: compatibility for 6.4 kernels

linux kernel v6.3-rc4-32-g6eb203e1a868
  iov_iter: remove iov_iter_iovec()

Provide a replacement iov_iter_iovec() when one is not provided.

linux kernel v6.3-rc4-34-g747b1f65d39a
  iov_iter: overlay struct iovec and ubuf/len

This renames iov_iter member iov to __iov and provides the
iov_iter() accessor.
Define __iov as iov when __iov not present.
Provide an iov_iter() for older kernels.

linux kernel v6.3-rc1-13-g1aaba11da9aa
  driver core: class: remove module * from class_create()

Provide an ll_class_create() to pass THIS_MODULE, or not,
as needed by class_create().

Linux commit v6.2-rc1-20-gf861646a6562
  quota: port to mnt_idmap

Update osd_dquot_transfer to use mnt_idmap and fallback
to user_ns, if needed, by dquot_transfer.

Linux commit v6.3-rc7-2433-gcf64b9bce950
  SUNRPC: return proper error from get_expiry()

Updated get_expiry() requires a time64_t pointer to be passed
to hold the expiry time. A non-zero return value indicates an
error, nominally -EINVAL. Provide a wrapper for kernels that
return a time64_t and return -EINVAL on error.

Test-Parameters: trivial
HPE-bug-id: LUS-11614
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I765d6257eec8b5a9bf1bd5947f03370eb9df1625
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/rw26.c
lustre/mdc/mdc_request.c
lustre/obdclass/cl_io.c
lustre/ofd/ofd_access_log.c
lustre/ptlrpc/gss/gss_svc_upcall.c