fs: Support the root file system attributes(mode, uid, gid and time)

Note: all attributes is guarded by PSEUDOFS_ATTRIBUTES to save the space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I664d60382e356068fd920f08aca5b4a49d8d92a9
This commit is contained in:
Xiang Xiao
2021-07-09 13:43:26 +08:00
committed by Alan Carvalho de Assis
parent 09f3a1ec8e
commit 0148e1d501
21 changed files with 76 additions and 72 deletions
+1 -3
View File
@@ -46,7 +46,6 @@
* It allocates and initializes a struct mqueue_inode_s structure.
*
* Input Parameters:
* mode - mode_t value is ignored
* attr - The mq_maxmsg attribute is used at the time that the message
* queue is created to determine the maximum number of
* messages that may be placed in the message queue.
@@ -57,8 +56,7 @@
*
****************************************************************************/
FAR struct mqueue_inode_s *nxmq_alloc_msgq(mode_t mode,
FAR struct mq_attr *attr)
FAR struct mqueue_inode_s *nxmq_alloc_msgq(FAR struct mq_attr *attr)
{
FAR struct mqueue_inode_s *msgq;