Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a191d6
)
Add PROFILE_FILE_NO_RELOAD flag which is used by profile_update_file()
author
Theodore Ts'o
<tytso@mit.edu>
Wed, 4 Jul 2007 14:36:15 +0000
(10:36 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 4 Jul 2007 14:36:15 +0000
(10:36 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/profile.c
patch
|
blob
|
history
diff --git
a/e2fsck/profile.c
b/e2fsck/profile.c
index
d46833c
..
4dd4c96
100644
(file)
--- 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);