Browse Source

fs: Set .opendir to fs_opendir_unsupported for btrfs

Otherwise fs_opendir will fault.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Marek Behún 6 years ago
parent
commit
38fc683d33
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fs/fs.c

+ 1 - 0
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
 	{