diff options
| author | guozhanxin <[email protected]> | 2021-07-08 16:37:07 +0800 |
|---|---|---|
| committer | guozhanxin <[email protected]> | 2021-07-08 16:38:40 +0800 |
| commit | 8102502b9815843bec2154b607c4f299ce179d97 (patch) | |
| tree | ecb23594b105783ae4d6e60b7f5718326f612119 /components | |
| parent | 3bc6d7c41434c2007f7ba110e209ce470f1ed046 (diff) | |
[devfs] F_GETFL/F_SETFL should be handled by the drivers.
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/src/dfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c index 802311b54e..fa0f6000b4 100644 --- a/components/dfs/src/dfs_file.c +++ b/components/dfs/src/dfs_file.c @@ -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) { |
