From: Marek BehĂșn <marek.behun@nic.cz>
Date: Fri, 6 Oct 2017 14:56:07 +0000 (+0200)
Subject: fs: Set .opendir to fs_opendir_unsupported for btrfs
X-Git-Tag: v2025.01-rc5-pxa1908~5526
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=38fc683d33777e0e32b2aab82e3d7cb6d0b87874;p=u-boot.git

fs: Set .opendir to fs_opendir_unsupported for btrfs

Otherwise fs_opendir will fault.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
---

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
 	{