Message ID | 20230606071138.147128-1-hch@lst.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3213533vqr; Tue, 6 Jun 2023 00:41:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5e7287B2Mxtu9LvP4YhLCPZGeP5ySb18GEUQLz9opr0dE+DGWkeNGhLl/4ND5C3SQEuNvU X-Received: by 2002:a05:6358:baaa:b0:123:6441:c848 with SMTP id dg42-20020a056358baaa00b001236441c848mr969954rwb.0.1686037297651; Tue, 06 Jun 2023 00:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686037297; cv=none; d=google.com; s=arc-20160816; b=YkufRHukuINgSEKTsYW7xjlk+C7k2xENnfEedjUwLTXnwqkdIVs4SB5N1pCS3MHY3H xE+m4lUXGp7R3IoFV/HOAAnPlMiKbR432ppDnoNoX9sjwvSEKrOQ2uAM2gpz+F+LOdfU JdBByOMrrM/3uceoL0EvTWEgeWsrPP+mhZbAywFoC+SVMilbVbPSuKf4yA5rUEknLppp bIc8q+Ueunx/4NAkenD6sJ36d+k34R3bCqHzyjP3o1bD3nOGIclRcAV/gM6zn3oEz2ud MdpbjCRuTjPm3aXOGMNMGm3RuRHuarON9SUPavSxOTYuoXcLyKVXDzB13uDFwkX+8X7m RaHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9v9tn6lsZgkyyA0di1tqJv1yUJFw46GloDfmVy8ibak=; b=HLIhgaJKkmTwAAYZWaZNaE85bEF6xiP4zPaNK2mVy+M8Mw2IpToziJC30Alc+xOdd6 y1LndrHxvxEBooNNowll81lt+aljqTELfLQkzaB01Gbn5x3IcxJopztJlsLt34lYE7Jc 87GgiFo+df+xDWn9q4nMoq5a0d2UdngM1Im68nF72JhHSDjNAz5vXv/y0uea/fJG1Tju O9RjF+U2FLNkIM/zbtUfhW9mEdYB2lakEM4QMDbAPUi+qwsjXpHHuicmSYPvBQHaUp3D WAE/RCMnq3dGq8GUbGHPq38gjk2YyV9puLYfqWo8Mt/NrT9nLP+qb8UnQWQbeZm3ioIv 4uVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yjkbyeg1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a17090a134d00b0024e54c31c25si6931274pjf.176.2023.06.06.00.41.25; Tue, 06 Jun 2023 00:41:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yjkbyeg1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235894AbjFFHMI (ORCPT <rfc822;xxoosimple@gmail.com> + 99 others); Tue, 6 Jun 2023 03:12:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235952AbjFFHLv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 6 Jun 2023 03:11:51 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C97C10D4 for <linux-kernel@vger.kernel.org>; Tue, 6 Jun 2023 00:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=9v9tn6lsZgkyyA0di1tqJv1yUJFw46GloDfmVy8ibak=; b=yjkbyeg1LfxpvTDqKDQjrUYNeJ zYiloa2MPiHCBurdp6DvUxTkCjQTv0yReNu13sekASz+dkoO/wjcTxPLH4ypXRkzrEJZ7g1Ysyzhn oxnpN8Tdzk5iyA7xKZjqP4qbt87prevF+fHKFHUpn0yefP7/GYChSuc+29WLEsZGE3Irsvsv6eHdv BkBb/hSWUt78SgJZgw0BnxOxFJPidNCsdtdEhYpSGZjBDpSu/8tWtJPsvs8ns7eCH//9DjO9QJm43 0Qwm//so7COWTCu5EDupcvmVJAV0L5k8WrVmcGkk6Nrk4d7l1iA8Hl1P421wGrWlcBy9GsZKbbMsB DKfL6a+g==; Received: from 2a02-8389-2341-5b80-39d3-4735-9a3c-88d8.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:39d3:4735:9a3c:88d8] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q6Qr0-000UFZ-1R; Tue, 06 Jun 2023 07:11:42 +0000 From: Christoph Hellwig <hch@lst.de> To: axboe@kernel.dk Cc: sfr@canb.auug.org.au, linux-kernel@vger.kernel.org Subject: [PATCH] block: document the holder argument to blkdev_get_by_path Date: Tue, 6 Jun 2023 09:11:38 +0200 Message-Id: <20230606071138.147128-1-hch@lst.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767938245391734180?= X-GMAIL-MSGID: =?utf-8?q?1767938245391734180?= |
Series |
block: document the holder argument to blkdev_get_by_path
|
|
Commit Message
Christoph Hellwig
June 6, 2023, 7:11 a.m. UTC
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
block/bdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/bdev.c b/block/bdev.c index 5c46ff10770638..4cebda15c55475 100644 --- a/block/bdev.c +++ b/block/bdev.c @@ -846,6 +846,7 @@ EXPORT_SYMBOL(blkdev_get_by_dev); * @path: path to the block device to open * @mode: FMODE_* mask * @holder: exclusive holder identifier + * @hops: holder operations * * Open the block device described by the device file at @path. If @mode * includes %FMODE_EXCL, the block device is opened with exclusive access.