fs: procfs add poll support

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai
2023-11-25 20:11:03 +08:00
committed by Xiang Xiao
parent ca99e69c28
commit 9852428953
46 changed files with 82 additions and 5 deletions

View File

@@ -177,6 +177,7 @@ const struct procfs_operations g_smartfs_operations =
/* No write supported */
smartfs_write, /* write */
NULL, /* poll */
smartfs_dup, /* dup */

View File

@@ -142,6 +142,7 @@ const struct mountpt_operations g_smartfs_operations =
smartfs_ioctl, /* ioctl */
NULL, /* mmap */
smartfs_truncate, /* truncate */
NULL, /* poll */
smartfs_sync, /* sync */
smartfs_dup, /* dup */