X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fproc_self_mountinfo.h;h=00cf699abc39698dde5bf059f616baeba428019f;hb=9dccc16d3763392f0b13349de18c3a838a667653;hp=d47b6112562f70dca15331a1828d1e5bffa2aba8;hpb=7e5402d248b63c9ab62996d80184f0e5bd776b70;p=netdata.git diff --git a/src/proc_self_mountinfo.h b/src/proc_self_mountinfo.h index d47b6112..00cf699a 100644 --- a/src/proc_self_mountinfo.h +++ b/src/proc_self_mountinfo.h @@ -7,6 +7,7 @@ #define MOUNTINFO_IS_SAME_DEV 0x00000008 #define MOUNTINFO_NO_STAT 0x00000010 #define MOUNTINFO_NO_SIZE 0x00000020 +#define MOUNTINFO_READONLY 0x00000040 struct mountinfo { long id; // mount ID: unique identifier of the mount (may be reused after umount(2)). @@ -49,6 +50,6 @@ extern struct mountinfo *mountinfo_find_by_filesystem_mount_source(struct mounti extern struct mountinfo *mountinfo_find_by_filesystem_super_option(struct mountinfo *root, const char *filesystem, const char *super_options); extern void mountinfo_free(struct mountinfo *mi); -extern struct mountinfo *mountinfo_read(); +extern struct mountinfo *mountinfo_read(int do_statvfs); #endif /* NETDATA_PROC_SELF_MOUNTINFO_H */ \ No newline at end of file