Skip to content

Commit 5bae565

Browse files
authored
Merge pull request #4858 from Guozhanxin/devfs
[devfs] F_GETFL/F_SETFL should be handled by the drivers.
2 parents 4962dc9 + 8102502 commit 5bae565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dfs/src/dfs_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ int dfs_file_ioctl(struct dfs_fd *fd, int cmd, void *args)
157157
return -EINVAL;
158158

159159
/* regular file system fd */
160-
if (fd->type == FT_REGULAR || fd->type == FT_DEVICE)
160+
if (fd->type == FT_REGULAR)
161161
{
162162
switch (cmd)
163163
{

0 commit comments

Comments
 (0)