From af5d679e18b5d4133f698bac112115abfc015fe1 Mon Sep 17 00:00:00 2001 From: chenrun1 Date: Thu, 13 Jun 2024 17:21:35 +0800 Subject: [PATCH] fs.h:Added definition CH_STAT_SIZE Define a CH_STAT_SIZE in fs.h Signed-off-by: chenrun1 --- 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 e265bf86857..930cda33894 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 275f0646f0a..939a8dd5468 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