diff options
author | Theodore Ts'o <tytso@mit.edu> | 2007-07-04 10:36:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-07-04 10:36:15 -0400 |
commit | 6bde5c28ba25600f02f6d8cd2e8de39017bc421d (patch) | |
tree | 2dcbc5c59d3a1e4ce3662d83a110a103b90baf1e /e2fsck | |
parent | 1a191d6648c8511d389cd9bea11dedb671f64456 (diff) | |
download | e2fsprogs-6bde5c28ba25600f02f6d8cd2e8de39017bc421d.tar.gz |
Add PROFILE_FILE_NO_RELOAD flag which is used by profile_update_file()
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck')
-rw-r--r-- | e2fsck/profile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e2fsck/profile.c b/e2fsck/profile.c index d46833c7..4dd4c962 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); |