From nobody Mon Nov 28 17:16:54 2022 X-Original-To: dev-commits-src-main@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 4NLXFf3KhQz4jPm0; Mon, 28 Nov 2022 17:16:54 +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 4NLXFf2dPtz40Hd; Mon, 28 Nov 2022 17:16:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669655814; 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=NrWf4faDI2ZOPnRZRnVCp04izxFdSiSsw9uN4xCIJU0=; b=T08DfMgZDCs2p7Gt6EtEiNoCSC4D77fY5ovS4CC6ZQOLAMm+rmlHrq/bfVds1HxN3oZUlq NGn+z8R6eFwgMXpWaoaMRoXEc3IEddZgv4v18cziXWvHpda1xNA9aFXC1C5+jZoY/E1R0P EOCxQid7EOv91jT94OWe/Ze3vl3Ok9uNpkVgUhql3tdJ4dGov/gi1NsPc7VLTVaJpXRbrW vI5oy4Ll+Tr6LP/FXtixxhl3XRPaxguz5EAwf9gI76tdZSFgWuVYL/CpI9KrienprcrTNN nNf8EB4PiyHo21irP1Fi8mZWjQYmPipw0WhCHRlpYVHJdJ5W0OxIn93/lBaoKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669655814; 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=NrWf4faDI2ZOPnRZRnVCp04izxFdSiSsw9uN4xCIJU0=; b=ojPcuNY9QdRhxg5ceKaiRSU6oI0XLsluYtMRvv31EgedGklNIE9Z+XFArUL5eGVyx9ZQRw MYHkpOsaxavE/VEDsj9/fu5bi/gaXtEH+CNI4oB7BrBnsClmQgpOe+Ddaiwj+ThEkQZAZs rTG8LH9vWEyG+l+PJ2s6z1goEQTQh2EcIQGn66FOGfAGWkITW+ImUSrZK5GPKNAY8GFsEA qIjYcsE8F8qQKDFjS4j0KigD9qRiJsv2N/LKAJJ171h3/4HNn1oB22jfi03lLtBvf9MHac 7dxGITD/B3LbtFbNUgke3yXWo0EMlmTsK/cEyUFe1pLXc0R0tYXgx+Oz6SfjcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669655814; a=rsa-sha256; cv=none; b=h5ZhZXDzIDuLkZt7AHAWv3w8l45fLd0NU4aQWPnseNE01i3xKSL8m5VpQ+oFcoDVFZZtZr v4AjUpi+qsvKUOiUqCq93A/8peqQ8UQduosi0wux3HTScMFJbjHMnOz37sfg/jcucVM6z8 jrwbQMqPZfVU2E5WxhHB8ZYFtQpNnKv0NQKaI7nblXlSUed8QVTCundUUkQbrQ81MvEbC7 /LRwSTBrbJEczyCv5YeyYmhWoZVYBS5q//Ngo10SGg1S3bE0Wi2oAI2r5IlolCjcjYnscE 8HsqthBVbvnfkUsv4t+3M0KGeUIqW7l8WACjZ/6jEPuTNr/4p5ZgancsHkz9MA== 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 4NLXFf1jDfzlc6; Mon, 28 Nov 2022 17:16:54 +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 2ASHGsWj066764; Mon, 28 Nov 2022 17:16:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ASHGsu4066763; Mon, 28 Nov 2022 17:16:54 GMT (envelope-from git) Date: Mon, 28 Nov 2022 17:16:54 GMT Message-Id: <202211281716.2ASHGsu4066763@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: af393426b321 - main - LinuxKPI: add a no-op generic_file_llseek() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: af393426b321e885d1db5f0a0571f34969a59a9f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=af393426b321e885d1db5f0a0571f34969a59a9f commit af393426b321e885d1db5f0a0571f34969a59a9f Author: Bjoern A. Zeeb AuthorDate: 2022-10-22 20:27:42 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-11-28 17:14:10 +0000 LinuxKPI: add a no-op generic_file_llseek() This is needed for debugfs implementations in drivers. Sponsored by: The FreeBSD Foundation MFC after: 3 days OKed by: jfree Differential Revision: https://reviews.freebsd.org/D37092 --- 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) {