From 6bde5c28ba25600f02f6d8cd2e8de39017bc421d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 4 Jul 2007 10:36:15 -0400 Subject: [PATCH] Add PROFILE_FILE_NO_RELOAD flag which is used by profile_update_file() Signed-off-by: "Theodore Ts'o" --- e2fsck/profile.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2fsck/profile.c b/e2fsck/profile.c index d46833c..4dd4c96 100644 --- a/e2fsck/profile.c +++ b/e2fsck/profile.c @@ -105,6 +105,7 @@ typedef struct _prf_file_t *prf_file_t; */ #define PROFILE_FILE_RW 0x0001 #define PROFILE_FILE_DIRTY 0x0002 +#define PROFILE_FILE_NO_RELOAD 0x0004 /* * This structure defines the high-level, user visible profile_t @@ -452,6 +453,9 @@ errcode_t profile_update_file(prf_file_t prf) char buf[2048]; struct parse_state state; + if (prf->flags & PROFILE_FILE_NO_RELOAD) + return 0; + #ifdef HAVE_STAT #ifdef STAT_ONCE_PER_SECOND now = time(0); -- 1.8.3.1