Sfoglia il codice sorgente

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 7 anni fa
parent
commit
38fc683d33
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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
 	{