This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit af5d679e18b5d4133f698bac112115abfc015fe1
Author: chenrun1 <[email protected]>
AuthorDate: Thu Jun 13 17:21:35 2024 +0800

    fs.h:Added definition CH_STAT_SIZE
    
    Define a CH_STAT_SIZE in fs.h
    
    Signed-off-by: chenrun1 <[email protected]>
---
 fs/nfs/nfs_vfsops.c   | 2 --
 include/nuttx/fs/fs.h | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/nfs/nfs_vfsops.c b/fs/nfs/nfs_vfsops.c
index e265bf8685..930cda3389 100644
--- a/fs/nfs/nfs_vfsops.c
+++ b/fs/nfs/nfs_vfsops.c
@@ -99,8 +99,6 @@
 #  error "Length of cookie verify in fs_dirent_s is incorrect"
 #endif
 
-#define CH_STAT_SIZE            (1 << 7)
-
 /****************************************************************************
  * Private Types
  ****************************************************************************/
diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h
index 275f0646f0..939a8dd546 100644
--- a/include/nuttx/fs/fs.h
+++ b/include/nuttx/fs/fs.h
@@ -163,6 +163,7 @@
 #define CH_STAT_GID        (1 << 2)
 #define CH_STAT_ATIME      (1 << 3)
 #define CH_STAT_MTIME      (1 << 4)
+#define CH_STAT_SIZE       (1 << 7)
 
 /****************************************************************************
  * Public Type Definitions

Reply via email to