summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2011-04-13 15:38:10 +0200
committerKarel Zak2011-04-13 15:38:10 +0200
commit5eb00eb43044032cad6407c1ea3fc05f28cff123 (patch)
treea2233afc3403193363626b420de999858ccca41e /shlibs/mount/src/mountP.h
parentlibmount: block signals when update utab (diff)
downloadkernel-qcow2-util-linux-5eb00eb43044032cad6407c1ea3fc05f28cff123.tar.gz
kernel-qcow2-util-linux-5eb00eb43044032cad6407c1ea3fc05f28cff123.tar.xz
kernel-qcow2-util-linux-5eb00eb43044032cad6407c1ea3fc05f28cff123.zip
libmount: merge mtab and utab locking code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index a72c2560d..b4b47760d 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -306,6 +306,9 @@ struct libmnt_context
/* default flags */
#define MNT_FL_DEFAULT 0
+/* lock.c */
+extern int mnt_lock_use_simplelock(struct libmnt_lock *ml, int enable);
+
/* optmap.c */
extern const struct libmnt_optmap *mnt_optmap_get_entry(
struct libmnt_optmap const **maps,