mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
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:
committed by
Alan Carvalho de Assis
parent
09f3a1ec8e
commit
0148e1d501
@@ -1003,10 +1003,6 @@ int nxffs_open(FAR struct file *filep, FAR const char *relpath,
|
||||
volume = (FAR struct nxffs_volume_s *)filep->f_inode->i_private;
|
||||
DEBUGASSERT(volume != NULL);
|
||||
|
||||
#ifdef CONFIG_FILE_MODE
|
||||
# warning "Missing check for privileges based on inode->i_mode"
|
||||
#endif
|
||||
|
||||
/* Limitation: A file must be opened for reading or writing, but not both.
|
||||
* There is no general way of extending the size of a file. Extending the
|
||||
* file size of possible if the file to be extended is the last in the
|
||||
|
||||
Reference in New Issue
Block a user