summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2017-10-06 16:56:07 +0200
committerTom Rini <trini@konsulko.com>2017-10-16 09:42:51 -0400
commit38fc683d33777e0e32b2aab82e3d7cb6d0b87874 (patch)
tree8eb6411d084488e9908cbea43921bad77ab5db17 /fs
parent733d963e3b3e39fd49a9090b3f29ad0dafd2277d (diff)
fs: Set .opendir to fs_opendir_unsupported for btrfs
Otherwise fs_opendir will fault. Signed-off-by: Marek Behun <marek.behun@nic.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 84349f30398..9c4d67faf82 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
{