diff options
author | Karel Zak | 2015-12-09 10:26:16 +0100 |
---|---|---|
committer | Karel Zak | 2015-12-09 10:26:16 +0100 |
commit | 6589a1632b313db1304b673a6ce41a48f203eb98 (patch) | |
tree | bf8398e1a37e228359235121a9901a49b4e835fe /libmount/src/mountP.h | |
parent | libmount: add cgroup2 pseudo FS (diff) | |
download | kernel-qcow2-util-linux-6589a1632b313db1304b673a6ce41a48f203eb98.tar.gz kernel-qcow2-util-linux-6589a1632b313db1304b673a6ce41a48f203eb98.tar.xz kernel-qcow2-util-linux-6589a1632b313db1304b673a6ce41a48f203eb98.zip |
libmount: use fstatat(AT_NO_AUTOMOUNT) for mountpoints
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r-- | libmount/src/mountP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h index 660e0ad08..25418a2e4 100644 --- a/libmount/src/mountP.h +++ b/libmount/src/mountP.h @@ -99,6 +99,7 @@ extern int mnt_get_filesystems(char ***filesystems, const char *pattern); extern void mnt_free_filesystems(char **filesystems); extern char *mnt_get_kernel_cmdline_option(const char *name); +extern int mnt_stat_mountpoint(const char *target, struct stat *st); /* tab.c */ extern int is_mountinfo(struct libmnt_table *tb); |