Whamcloud - gitweb
LU-16802 build: compatibility for 6.4 kernels 75/50875/12
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 27 Oct 2023 06:21:13 +0000 (01:21 -0500)
committerShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 1 Nov 2023 00:02:36 +0000 (00:02 +0000)
commit1bd4e67d1f635e0a5f94280c4bab85668ce677ca
treec0c5e1fd229abb84a460d3ab557a135f7cf85c41
parent256cb01778369e17d7ebf7635e61fac80b9034f3
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