From patchwork Fri Oct 6 14:56:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 822482 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="mzM7h2T7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3y7t6W0d0zz9sNw for ; Sat, 7 Oct 2017 01:57:53 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id E8033C21DE7; Fri, 6 Oct 2017 14:57:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 70F1CC21C40; Fri, 6 Oct 2017 14:57:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9AE7CC21C40; Fri, 6 Oct 2017 14:57:41 +0000 (UTC) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) by lists.denx.de (Postfix) with ESMTPS id A9B6BC21C34 for ; Fri, 6 Oct 2017 14:57:39 +0000 (UTC) Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:8982:ed8c:62b1:c0c8]) by mail.nic.cz (Postfix) with ESMTP id DAE086011B; Fri, 6 Oct 2017 16:57:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1507301856; bh=+obcc3M5R5snLDMueiUkoOnfre/7jbPfiZ/HQeXiAMI=; h=From:To:Date; b=mzM7h2T7khYNYr67bETZMYJTypG6evBCifiZcM7VGIRxY3ffaJXxgCF+f2UEPUjV4 mRtDJNAGD0OYAvYNJze/LI6io2osl6RzLDqoGrHzmZXd1Tqij1d+DtpNYyjqM3wdp8 hMUYUbTxhi3PcdXhFLEVv/ID1g4hT+13dTLtP6Ss= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: u-boot@lists.denx.de Date: Fri, 6 Oct 2017 16:56:07 +0200 Message-Id: <20171006145607.6614-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.13.6 X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean Subject: [U-Boot] [PATCH] fs: Set .opendir to fs_opendir_unsupported for btrfs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Otherwise fs_opendir will fault. Signed-off-by: Marek Behun --- fs/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fs.c b/fs/fs.c index 84349f3039..9c4d67faf8 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -233,6 +233,7 @@ static struct fstype_info fstypes[] = { .read = btrfs_read, .write = fs_write_unsupported, .uuid = btrfs_uuid, + .opendir = fs_opendir_unsupported, }, #endif {