浏览代码

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 年之前
父节点
当前提交
38fc683d33
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 	{