From b1132390a8f27374f1ff66397c3f93c8a61a14d2 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Tue, 5 Jul 2016 12:51:24 -0700 Subject: [PATCH] Update comments to be more correct --- src/common/assoc_mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/assoc_mgr.c b/src/common/assoc_mgr.c index 65ec5a79fa4..51c73be6162 100644 --- a/src/common/assoc_mgr.c +++ b/src/common/assoc_mgr.c @@ -726,7 +726,7 @@ static slurmdb_assoc_rec_t* _find_assoc_parent( } /* locks should be put in place before calling this function - * ASSOC_WRITE, USER_WRITE */ + * ASSOC_WRITE, USER_WRITE, TRES_READ */ static int _set_assoc_parent_and_user(slurmdb_assoc_rec_t *assoc, int reset) { @@ -906,7 +906,7 @@ static void _set_children_level_shares(slurmdb_assoc_rec_t *assoc, /* transfer slurmdb assoc list to be assoc_mgr assoc list */ /* locks should be put in place before calling this function - * ASSOC_WRITE, USER_WRITE */ + * ASSOC_WRITE, USER_WRITE, TRES_READ */ static int _post_assoc_list(void) { slurmdb_assoc_rec_t *assoc = NULL; -- GitLab