[rtems commit] IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMOD

Sebastian Huber sebh at rtems.org
Fri Feb 13 20:50:35 UTC 2015


Module:    rtems
Branch:    master
Commit:    249766c53f973dec8e118a441001f4f17f7ca8bc
Changeset: http://git.rtems.org/rtems/commit/?id=249766c53f973dec8e118a441001f4f17f7ca8bc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb 13 21:26:17 2015 +0100

IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMOD

Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.

---

 cpukit/sapi/include/confdefs.h           | 4 ++--
 doc/user/conf.t                          | 8 ++++----
 testsuites/fstests/fsimfsconfig01/init.c | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index ccc1ded..580a138 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -347,7 +347,7 @@ const rtems_libio_helper rtems_fs_init_helper =
 #endif
 
 #ifdef CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
-  #define CONFIGURE_IMFS_DISABLE_FCHMOD
+  #define CONFIGURE_IMFS_DISABLE_CHMOD
   #define CONFIGURE_IMFS_DISABLE_CHOWN
   #define CONFIGURE_IMFS_DISABLE_UTIME
   #define CONFIGURE_IMFS_DISABLE_LINK
@@ -572,7 +572,7 @@ const rtems_libio_helper rtems_fs_init_helper =
         #else
           IMFS_rmnod,
         #endif
-        #ifdef CONFIGURE_IMFS_DISABLE_FCHMOD
+        #ifdef CONFIGURE_IMFS_DISABLE_CHMOD
           rtems_filesystem_default_fchmod,
         #else
           IMFS_fchmod,
diff --git a/doc/user/conf.t b/doc/user/conf.t
index 64d37ad..f6b203f 100644
--- a/doc/user/conf.t
+++ b/doc/user/conf.t
@@ -2702,7 +2702,7 @@ This is not defined by default.
 In case this configuration option is defined, then the following configuration
 options will be defined as well
 @itemize @bullet
- at item @code{CONFIGURE_IMFS_DISABLE_FCHMOD},
+ at item @code{CONFIGURE_IMFS_DISABLE_CHMOD},
 @item @code{CONFIGURE_IMFS_DISABLE_CHOWN},
 @item @code{CONFIGURE_IMFS_DISABLE_UTIME},
 @item @code{CONFIGURE_IMFS_DISABLE_LINK},
@@ -2739,15 +2739,15 @@ In case this configuration option is defined, then the support to change the
 owner is disabled in the root IMFS.
 
 @c
- at c === CONFIGURE_IMFS_DISABLE_FCHMOD ===
+ at c === CONFIGURE_IMFS_DISABLE_CHMOD ===
 @c
 @subsection Disable Change Mode Support of Root IMFS
 
- at findex CONFIGURE_IMFS_DISABLE_FCHMOD
+ at findex CONFIGURE_IMFS_DISABLE_CHMOD
 
 @table @b
 @item CONSTANT:
- at code{CONFIGURE_IMFS_DISABLE_FCHMOD}
+ at code{CONFIGURE_IMFS_DISABLE_CHMOD}
 
 @item DATA TYPE:
 Boolean feature macro.
diff --git a/testsuites/fstests/fsimfsconfig01/init.c b/testsuites/fstests/fsimfsconfig01/init.c
index 4132f52..1d449d6 100644
--- a/testsuites/fstests/fsimfsconfig01/init.c
+++ b/testsuites/fstests/fsimfsconfig01/init.c
@@ -131,7 +131,7 @@ static void Init(rtems_task_argument arg)
 #define CONFIGURE_FILESYSTEM_IMFS
 
 #define CONFIGURE_IMFS_DISABLE_CHOWN
-#define CONFIGURE_IMFS_DISABLE_FCHMOD
+#define CONFIGURE_IMFS_DISABLE_CHMOD
 #define CONFIGURE_IMFS_DISABLE_LINK
 
 #if 0



More information about the vc mailing list