Skip to content

Commit 68c5269

Browse files
authored
Merge pull request #3935 from enkiller/0926-1225
[dfs] fix the DEVICE could not get or set flags
2 parents 3893176 + 8861202 commit 68c5269

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)
160+
if (fd->type == FT_REGULAR || fd->type == FT_DEVICE)
161161
{
162162
switch (cmd)
163163
{

0 commit comments

Comments
 (0)