[U-Boot] [PATCH] fs: Set .opendir to fs_opendir_unsupported for btrfs

Marek BehĂșn marek.behun at nic.cz
Fri Oct 6 14:56:07 UTC 2017


Otherwise fs_opendir will fault.

Signed-off-by: Marek Behun <marek.behun at nic.cz>
---
 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
 	{
-- 
2.13.6



More information about the U-Boot mailing list