]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
fs: Set .opendir to fs_opendir_unsupported for btrfs
authorMarek BehĂșn <marek.behun@nic.cz>
Fri, 6 Oct 2017 14:56:07 +0000 (16:56 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 13:42:51 +0000 (09:42 -0400)
Otherwise fs_opendir will fault.

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

diff --git a/fs/fs.c b/fs/fs.c
index 84349f3039856bae87822a3d9b86551a7bde9b72..9c4d67faf82324c44d051ab4c14ed8734784b0a1 100644 (file)
--- 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
        {