Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2033574ybi; Thu, 20 Jun 2019 08:04:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8BTzI9TWu9pz86fJBXORcQLuCde0W9yWjwCbP2sNlLepEQKy2fweZ1sdt7ee7EDO6I+fF X-Received: by 2002:a17:902:9004:: with SMTP id a4mr53534464plp.109.1561043056278; Thu, 20 Jun 2019 08:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561043056; cv=none; d=google.com; s=arc-20160816; b=kE/qjNOkRpSb15RfQI96DuL6JW3vl/L7WVNDJVXHDhMQ2k11xAv1864XfgxCiklTPD hG6euL1miMcBgHInBhGOLSkvMedGEmO4GvKWiBLVNQ4BQe7eGksClh7qMp2x31Brbtd2 6ayzE3tcjhVRMEmws/o9Gi0Be9msaCc+CKDCppvY9cfC/3LYE9uqVU6XOu5W/7wsjjH8 +DNrKBCSrtqaqc+Dvj5N1xSguOV6n3BDVM+OO0GZqSrZrMoGPOc5+TaOG72SC42Kprjh XfVI61Gbbbh6EbPm9V6k0ZrPVFP8DodF1SLCTsoLc24Bn4RdCnWAlEktq0LHQPB2XNVm ORWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=c+VIZiG1eBhlF3rxdIGklWohp2FF58HwtgWB8kP2krE=; b=jdP0vRSX4wThyEfA9r5tgFepvE6SEFQXUuZwsWcofstvbPDqa+a2F/4BsYr4Z3HsZA j5ikOmtUr/rnzcVqaOfI+et4Km4bm9nKhUis5sVou+u+ZfQmY/EE7QkIXLBpUH/oHhUe 0tx7bAf98Pp3bmMVL3H6fP/xLr7qKrpqsbeVXFHlXCFB4inI7w+iNZPcnB/WMOG9CpAn mQpdvuh4vXBfS0IViMI1je1hhW3TKxBTW2TgjEBSEdNtKcHQYO3Ixez+wU0tq1AusP7k Ta+K90vx2pFiDoQe3ghmSpiKqt11B0GmHUqd/RPvkSOiMRnIZz7CgzQ9qQiJ6IJzop/T jsEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Naa6Gv+f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si16983pjb.25.2019.06.20.08.03.59; Thu, 20 Jun 2019 08:04:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Naa6Gv+f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731871AbfFTPDp (ORCPT + 99 others); Thu, 20 Jun 2019 11:03:45 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33246 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbfFTPDn (ORCPT ); Thu, 20 Jun 2019 11:03:43 -0400 Received: by mail-ed1-f65.google.com with SMTP id i11so5227243edq.0; Thu, 20 Jun 2019 08:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=c+VIZiG1eBhlF3rxdIGklWohp2FF58HwtgWB8kP2krE=; b=Naa6Gv+fzky/gjo7CpiXlMXWStve+HDn/z269u6D22mS2YIpyIrbsm2maPJM8MFOMC sLJ4Mx+S9e28+0xXqFixfbAiLz4asoZQJV/yZMrpNQRJXEhR7exHvmKwm2uoeBGgDjqS c1DQDyrnfPkhxK0dgpJD5D81nU/tmjK19pQoYEHFAUOnVA6RARX08SaVNL7mX2aGlJZF NGZDeLwOfaNCQR+pPHBqIH9MYeVykh7c63njdxCkmSCnAy4Jp8szjlXEfPskU8/L8AuO 3iQPfGK/MbJEV+/jC6xk9MxyKAHBaYngivQKkVklF+zxGKp70UprypqQSnKS8BYra6Wz aWOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=c+VIZiG1eBhlF3rxdIGklWohp2FF58HwtgWB8kP2krE=; b=Hq50IGEzxBradTglNucwFCjxHPCTV3gB6tSeetMWSd3eMbLvCvR+KtqZosW5a88fK3 CYQz79JcHOFwJLyEDcn7u2gBRrJ6DXJpa7ak5ED6bCiGee0TVKSqSxnThexYIF1a9HQ/ GSrElsLgs9yRgUQGDX3zy06vasCH82q1HrpnvE+kkcb3NDaXOpp9qlxa7yPcMZYQa8Wr RYB+WgvROdHigNIaoVAHJcQPWo+jBYf0UmsQWgq07HamnRLCDL7JQhNC8AbHcSoZ8DOT Bz5KqQHVNYup9yssko68iRrcEmUlvgOv69CH+Bz6oF6ofBfzMwohLfO9iVVnO3eaVn/Q /Bsw== X-Gm-Message-State: APjAAAV3FqgXcvl0Nlb2vN/BHTnwD+TxASTbrSzKI5KAopM1yC3i08ni zIV3xpHIR1HPJYaSU3bOiCQnDKxSzUg= X-Received: by 2002:a50:9167:: with SMTP id f36mr31218322eda.297.1561043021582; Thu, 20 Jun 2019 08:03:41 -0700 (PDT) Received: from jwang-Latitude-5491.pb.local ([62.217.45.26]) by smtp.gmail.com with ESMTPSA id a20sm3855817ejj.21.2019.06.20.08.03.40 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 08:03:41 -0700 (PDT) From: Jack Wang To: linux-block@vger.kernel.org, linux-rdma@vger.kernel.org Cc: axboe@kernel.dk, hch@infradead.org, sagi@grimberg.me, bvanassche@acm.org, jgg@mellanox.com, dledford@redhat.com, danil.kipnis@cloud.ionos.com, rpenyaev@suse.de, Roman Pen , linux-kernel@vger.kernel.org Subject: [PATCH v4 01/25] sysfs: export sysfs_remove_file_self() Date: Thu, 20 Jun 2019 17:03:13 +0200 Message-Id: <20190620150337.7847-2-jinpuwang@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190620150337.7847-1-jinpuwang@gmail.com> References: <20190620150337.7847-1-jinpuwang@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Pen Function is going to be used in transport over RDMA module in subsequent patches. Signed-off-by: Roman Pen Acked-by: Tejun Heo Cc: linux-kernel@vger.kernel.org --- fs/sysfs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 130fc6fbcc03..1ff4672d7746 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -492,6 +492,7 @@ bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) kernfs_put(kn); return ret; } +EXPORT_SYMBOL_GPL(sysfs_remove_file_self); void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr) { -- 2.17.1