diff mbox series

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

Message ID 20171006145607.6614-1-marek.behun@nic.cz
State Accepted
Commit 38fc683d33777e0e32b2aab82e3d7cb6d0b87874
Delegated to: Tom Rini
Headers show
Series [U-Boot] fs: Set .opendir to fs_opendir_unsupported for btrfs | expand

Commit Message

Marek BehĂșn Oct. 6, 2017, 2:56 p.m. UTC
Otherwise fs_opendir will fault.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
---
 fs/fs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Oct. 17, 2017, 12:47 a.m. UTC | #1
On Fri, Oct 06, 2017 at 04:56:07PM +0200, Marek BehĂșn wrote:

> Otherwise fs_opendir will fault.
> 
> Signed-off-by: Marek Behun <marek.behun@nic.cz>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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
 	{