diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-12-17 15:02:54 +0000 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-12-17 15:02:54 +0000 |
commit | 5058d87a7e7fea00564b1b5cadbb75b0634a5857 (patch) | |
tree | 41641695b972b939a87ee9d2d237720bfd508431 /tests/libcgrouptest.h | |
parent | 764a147fae9ab82b15c2ed94b5b510c3879f2530 (diff) | |
download | libcg-5058d87a7e7fea00564b1b5cadbb75b0634a5857.tar.gz libcg-5058d87a7e7fea00564b1b5cadbb75b0634a5857.tar.xz libcg-5058d87a7e7fea00564b1b5cadbb75b0634a5857.zip |
libcgroup Test: libcgrouptest-multimnt-sanitycheck
Hi
The following patch adds the sanity check in c file for multiple mount case.
The parameter passed to the function decides whether the check is for single
mount or multiple mount.
Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@246 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r-- | tests/libcgrouptest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h index 63696fc..3583289 100644 --- a/tests/libcgrouptest.h +++ b/tests/libcgrouptest.h @@ -68,7 +68,7 @@ static int set_controller(int controller, char *controller_name, static int group_modified(char *path_control_file, int value_type); struct cgroup *new_cgroup(char *group, char *controller_name, char *control_file, int value_type); -int check_fsmounted(); +int check_fsmounted(int multimnt); static int check_task(char *tasksfile); static inline pid_t cgrouptest_gettid() |