From nobody Wed Jan 18 16:24:43 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nxrgw2NZxz2yJNg; Wed, 18 Jan 2023 16:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nxrgw1Stvz3DSH; Wed, 18 Jan 2023 16:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674059084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DewsACwR4XBQWN53ZQF84L6q7Zt6PmeE5spyEPZgE6o=; b=GRxV1eqhO7Re55vhiRi5q1E927ZVABDWb+0Iob7N6Y91rxM8jSGuDrG0fyLZyiz3HK2zbg 3BN8vBsIAbXd2p0/zhiPNRJcsDZbz//MPATLGZlgUH9oojUEqbTyFczAGpSCfKN33r82jR zk+W+heuYm2xaZgO43AUGiN9gwPh5oP65QGYbBEBYo1Sip1mIhF4nsorSmBlSX2szc8pfa NrpvzpkY2/nihvRSpDjgLQudNl5UKUxDyLEVrDF/7FT4gFJxmCbhKRRx4hHmDuKuIOM+O8 TB7pqJT1I1UQXudT457dPukaJGFx3/98SwM4tVuEzyyWJVyNuCZsiCRkklSvZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674059084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DewsACwR4XBQWN53ZQF84L6q7Zt6PmeE5spyEPZgE6o=; b=rUawEXQqS+qeRxIOsMUVZvyQvLfenB0xI6Z6j3Lw4EDdd5lAbNYx4LwZEfJjuq1L8yuBsv SiLmsV5e5wPu05+fnPiQszg3NQYc1elSJx/U9e7iMkZ+hH8hamebvVEWHxLQ4PRBF/4GqZ LMWfT/hT6Z2yUFR+253SU1HXKtM6L+qOOLqDXJaJPFWSiH4eI2A0NdMxQKaGnIODHF5J46 1IaCh3j88dofWBsuyliqdiqCLa1tMRKFVroJKP1Ln3519oAor9zJ2MPxSTyCYlgG36bxNA mXcpmXOoaPWWhUgTnGnVzCXNc2wFn0IBvkkFZHR5UPLNWz+G3sm/M4Er7CG4rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674059084; a=rsa-sha256; cv=none; b=WM4bDsTOiVbMUFA2WYcVlCZAwxravGV2cDAVY/9PQ/WnrfHPaO5oT+V0RQUwGIILMrReoe CUb1uR6ca48H55XE51G2Me5O9l42IoNM//NZcqppCMpRba4vvdUkvOKFMrOLa+LUR9uFwF RPIWPAgoImXI/12y3b5XRoaoi1FFdBO8AVpLWNHaJcs+466DzX40udTCeRsXZGj/9bKdOG ZdKjiXuPbSSyVtVEOnvOroVhafTAPk10+wqiPUohqkvoAqLm48DUnYr/TH8P3u17Wainpj L0JKIsbob8EuIhH6/2N+6IrTz4vzMu6CW55wty034Fsnsswo+ZBEWNWfXgPpuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nxrgv6qsVzHp9; Wed, 18 Jan 2023 16:24:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30IGOhd2037805; Wed, 18 Jan 2023 16:24:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30IGOhA6037804; Wed, 18 Jan 2023 16:24:43 GMT (envelope-from git) Date: Wed, 18 Jan 2023 16:24:43 GMT Message-Id: <202301181624.30IGOhA6037804@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: a6a22afc62de - stable/13 - LinuxKPI: add a no-op generic_file_llseek() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a6a22afc62de3069dc4d99edeebb58d258e8adab Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=a6a22afc62de3069dc4d99edeebb58d258e8adab commit a6a22afc62de3069dc4d99edeebb58d258e8adab Author: Bjoern A. Zeeb AuthorDate: 2022-10-22 20:27:42 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-01-18 13:23:49 +0000 LinuxKPI: add a no-op generic_file_llseek() This is needed for debugfs implementations in drivers. Sponsored by: The FreeBSD Foundation OKed by: jfree Differential Revision: https://reviews.freebsd.org/D37092 (cherry picked from commit af393426b321e885d1db5f0a0571f34969a59a9f) --- sys/compat/linuxkpi/common/include/linux/fs.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/fs.h b/sys/compat/linuxkpi/common/include/linux/fs.h index 55c2ee3e00c6..656b81b7be36 100644 --- a/sys/compat/linuxkpi/common/include/linux/fs.h +++ b/sys/compat/linuxkpi/common/include/linux/fs.h @@ -306,6 +306,12 @@ default_llseek(struct file *file, loff_t offset, int whence) return (no_llseek(file, offset, whence)); } +static inline loff_t +generic_file_llseek(struct file *file, loff_t offset, int whence) +{ + return (no_llseek(file, offset, whence)); +} + static inline loff_t noop_llseek(struct linux_file *file, loff_t offset, int whence) {