From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B301C433E0 for ; Fri, 19 Jun 2020 16:38:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E1A882067D for ; Fri, 19 Jun 2020 16:38:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592584719; bh=MavuaE6RpHO1pjmAVmuBsMf1W73U+3iUQqhX42rPWaU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ye9LXfhA3Nub8qyx9oHapBiDQE2SqdhUqWoBtTw32B8VAPlZ1k/3rhImz0HESd4xn 6koG8iUVhVBfJRNN+DPvK6+/EBRM6khEgkV/2N8Y8au5vsHVp/55VnqnafrxNBvbzh zREdmCYU6STaQGPJgcDMIjrnmRwsqzU/+n+jjFWc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388944AbgFSQih (ORCPT ); Fri, 19 Jun 2020 12:38:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:39516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388961AbgFSOrZ (ORCPT ); Fri, 19 Jun 2020 10:47:25 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B5F322083B; Fri, 19 Jun 2020 14:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592578045; bh=MavuaE6RpHO1pjmAVmuBsMf1W73U+3iUQqhX42rPWaU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bbes5PIISWzuNXsS7LEyQG8W3IYCwn2a9fjALS18QCBx2qpB/q2IQU+GyzGJxkLEC 1FiiuD4eORkZygnQ5CdxNtdDH5jMlXkEWJ8pKWpFXN5HnI+VWI0tZiLEiat3Mq98Na 4NQGYf2Fx0l3dO/vATCA9dfOYBkH2wRR9xs5r8Z8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Jan Kara , Tejun Heo , Jens Axboe Subject: [PATCH 4.14 030/190] cgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usages Date: Fri, 19 Jun 2020 16:31:15 +0200 Message-Id: <20200619141635.040613472@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141633.446429600@linuxfoundation.org> References: <20200619141633.446429600@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tejun Heo commit 9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a upstream. btrfs is going to use css_put() and wbc helpers to improve cgroup writeback support. Add dummy css_get() definition and export wbc helpers to prepare for module and !CONFIG_CGROUP builds. [only backport the export of __inode_attach_wb for stable kernels - gregkh] Reported-by: kbuild test robot Reviewed-by: Jan Kara Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- fs/fs-writeback.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -269,6 +269,7 @@ void __inode_attach_wb(struct inode *ino if (unlikely(cmpxchg(&inode->i_wb, NULL, wb))) wb_put(wb); } +EXPORT_SYMBOL_GPL(__inode_attach_wb); /** * locked_inode_to_wb_and_lock_list - determine a locked inode's wb and lock it