summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2010-11-10 01:25:07 +0100
committerKarel Zak2011-01-03 12:28:46 +0100
commit97e23b5e5eae8a8d5e14b263bb150e62073d453f (patch)
treee07e3f70491583060ea1484f5494c7a03d96f94c /shlibs/mount/src/mountP.h
parenttests: add utab update tests (diff)
downloadkernel-qcow2-util-linux-97e23b5e5eae8a8d5e14b263bb150e62073d453f.tar.gz
kernel-qcow2-util-linux-97e23b5e5eae8a8d5e14b263bb150e62073d453f.tar.xz
kernel-qcow2-util-linux-97e23b5e5eae8a8d5e14b263bb150e62073d453f.zip
libmount: support /{proc,etc}/filesystems
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index 0f1395e5a..a277d61eb 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -236,10 +236,11 @@ struct _mnt_context
char *helper; /* name of the used /sbin/[u]mount.<type> helper */
int helper_status; /* helper wait(2) status */
+ int helper_exec_status; /* 1: not called yet, 0: success, <0: -errno */
char *orig_user; /* original (non-fixed) user= option */
- int syscall_errno; /* mount(2) or umount(2) error */
+ int syscall_status; /* 1: not called yet, 0: success, <0: -errno */
};
/* flags */
@@ -294,4 +295,7 @@ extern mnt_fs *mnt_context_get_fs(mnt_context *cxt);
extern int mnt_context_merge_mountflags(mnt_context *cxt);
extern int mnt_context_update_tabs(mnt_context *cxt);
+/* tab_update.c */
+extern mnt_fs *mnt_update_get_fs(mnt_update *upd);
+
#endif /* _LIBMOUNT_PRIVATE_H */