From patchwork Tue Oct 3 21:50:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 9983559 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C51A260375 for ; Tue, 3 Oct 2017 21:50:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBC30286A1 for ; Tue, 3 Oct 2017 21:50:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0ACD28A0F; Tue, 3 Oct 2017 21:50:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46578286A1 for ; Tue, 3 Oct 2017 21:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751727AbdJCVuW (ORCPT ); Tue, 3 Oct 2017 17:50:22 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:49758 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751705AbdJCVuT (ORCPT ); Tue, 3 Oct 2017 17:50:19 -0400 Received: by mail-io0-f172.google.com with SMTP id 21so8921455iof.6 for ; Tue, 03 Oct 2017 14:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=EMyViW1hsBQ4a00VeBtrDGak9/yeobg4s8Q+q5lW1b8=; b=G68ZrLsCkAeRi4cODluLX9MEW/eR3jlNCnZwGh0Y5KRCOjS/VwK517amk6IUA+iD2l f+qDZIX5W/ejj7q//UnTjrUxdCF+gw9hTq8IWYEFOCtlgmfzDVlsnLc3toSp3ya/nvQx 0U6Sp3pXPmzhp8JON364DusOWM1EmESIRpDxEmg3QjY+1egPqItal3HDqrSzX8A4Kl9w zBEtGWKvXaNRXtjVN/psoIW/6lvu/wiUV4FFpH80Vh2a/BMflWlSaWmt2t5IIr/ud4ye IvPGDWNTE041zb8vVCi4GUlOekJox/8c+9ULE5ddxHKWBSTA1o5hpVZ3ZaBOLBITu3st fiJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=EMyViW1hsBQ4a00VeBtrDGak9/yeobg4s8Q+q5lW1b8=; b=YJ9J7JK4mVYr82TjMQib1U0lcX0rxczTL9Ht3TLoLuUENzJPxhFqnWfXQaSvuThpYB Sx1/ums29S3nCeWqD31I4Y7r2p+uVF5I8Ql6JlD43UC7FEgmbDtU364+2hfbPS6rIMuZ ebyUlHBVJZFaXCW/P465RuW/1hgUNukNpw3bLMFA3CdMjp0rN0Zs2MJB/wt4ZMT2atqw xtScAA9+DP+FLbRch7OXErtuVxScky9QVDnpdpaobZU8J1Jf013M+Cf1hCX12Vg8EEEl /dvrLOgCZKx6UV4NDuv5+OWkbqp4WWa/ySHsWLIuMi6v6g0dSJMItCJAI+xNdUnBlUJW zuZQ== X-Gm-Message-State: AMCzsaVBgpxw+FPNGdxwFYGri/qSu/ezsCDl6Y1QCQEbstUH+ud4q09p 0J2/5syRInNl47wHn/8x/3YiUg== X-Google-Smtp-Source: AOwi7QCMHjUZFsnbPj45ZFZdh7+xba/lpl4znDExOJs/HqXHbI7Sv0GwHEoNKrANVivyDK4VVspf8Q== X-Received: by 10.107.59.17 with SMTP id i17mr29635038ioa.136.1507067418364; Tue, 03 Oct 2017 14:50:18 -0700 (PDT) Received: from [192.168.1.160] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id v8sm6312823itb.24.2017.10.03.14.50.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Oct 2017 14:50:17 -0700 (PDT) To: "linux-block@vger.kernel.org" Cc: Shaohua Li , Omar Sandoval From: Jens Axboe Subject: [PATCH] null_blk: change configfs dependency to select Message-ID: <5aa79539-200c-c67b-5a28-d1d557036317@kernel.dk> Date: Tue, 3 Oct 2017 15:50:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A recent commit made null_blk depend on configfs, which is kind of annoying since you now have to find this dependency and enable that as well. Discovered this since I no longer had null_blk available on a box I needed to debug, since it got killed when the config updated after the configfs change was merged. Fixes: 3bf2bd20734e ("nullb: add configfs interface") Signed-off-by: Jens Axboe Reviewed-by: Shaohua Li diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 4a438b8abe27..2dfe99b328f8 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -17,7 +17,7 @@ if BLK_DEV config BLK_DEV_NULL_BLK tristate "Null test block driver" - depends on CONFIGFS_FS + select CONFIGFS_FS config BLK_DEV_FD tristate "Normal floppy disk support"