未验证 提交 5bae565f 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4858 from Guozhanxin/devfs

[devfs] F_GETFL/F_SETFL should be handled by the drivers.
......@@ -157,7 +157,7 @@ int dfs_file_ioctl(struct dfs_fd *fd, int cmd, void *args)
return -EINVAL;
/* regular file system fd */
if (fd->type == FT_REGULAR || fd->type == FT_DEVICE)
if (fd->type == FT_REGULAR)
{
switch (cmd)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册