diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-11 19:02:20 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-04 00:23:12 +0200 |
commit | 4e109ae98294a5ca7ff848b7652c7bfd4023a94a (patch) | |
tree | 80dcbdc72dba03e92ffa147d4e4245a65d9af5d2 /fs/reiserfs | |
parent | d5be43de93ff905c465e509d45a3164ef48d26e7 (diff) |
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.
All transformations are of the form:
Before:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/dev.c | 2 | ||||
-rw-r--r-- | fs/reiserfs/mode_string.c | 2 | ||||
-rw-r--r-- | fs/reiserfs/reiserfs.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/reiserfs/dev.c b/fs/reiserfs/dev.c index 6f6056f3377..6f7c9d263b0 100644 --- a/fs/reiserfs/dev.c +++ b/fs/reiserfs/dev.c @@ -19,7 +19,7 @@ #include <common.h> -#if (CONFIG_COMMANDS & CFG_CMD_REISER) +#if (CONFIG_COMMANDS & CFG_CMD_REISER) || defined(CONFIG_CMD_REISER) #include <config.h> #include <reiserfs.h> diff --git a/fs/reiserfs/mode_string.c b/fs/reiserfs/mode_string.c index bc565fbddd2..9c460347daf 100644 --- a/fs/reiserfs/mode_string.c +++ b/fs/reiserfs/mode_string.c @@ -26,7 +26,7 @@ #include <common.h> -#if (CONFIG_COMMANDS & CFG_CMD_REISER) +#if (CONFIG_COMMANDS & CFG_CMD_REISER) || defined(CONFIG_CMD_REISER) #include <linux/stat.h> #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \ diff --git a/fs/reiserfs/reiserfs.c b/fs/reiserfs/reiserfs.c index 31c25ebc7b1..d9ee2cd97fc 100644 --- a/fs/reiserfs/reiserfs.c +++ b/fs/reiserfs/reiserfs.c @@ -29,7 +29,7 @@ */ #include <common.h> -#if (CONFIG_COMMANDS & CFG_CMD_REISER) +#if (CONFIG_COMMANDS & CFG_CMD_REISER) || defined(CONFIG_CMD_REISER) #include <malloc.h> #include <linux/ctype.h> |