diff options
author | Karel Zak | 2012-06-28 15:40:16 +0200 |
---|---|---|
committer | Karel Zak | 2012-06-28 15:40:16 +0200 |
commit | f7f29b564073831c9d1a8cdf9deaf039c0bcb1b6 (patch) | |
tree | b63b6c298626fea30d2461832cec42e48f56bc11 /libmount/src/libmount.h.in | |
parent | findmnt: add --task <tid> option (diff) | |
download | kernel-qcow2-util-linux-f7f29b564073831c9d1a8cdf9deaf039c0bcb1b6.tar.gz kernel-qcow2-util-linux-f7f29b564073831c9d1a8cdf9deaf039c0bcb1b6.tar.xz kernel-qcow2-util-linux-f7f29b564073831c9d1a8cdf9deaf039c0bcb1b6.zip |
libmount: save task ID for mountinfo tiles
Add new function mnt_fs_get_tid() to get task ID for the given filesystem.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r-- | libmount/src/libmount.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index e12243962..6b87f984c 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -274,6 +274,7 @@ extern int mnt_fs_set_bindsrc(struct libmnt_fs *fs, const char *src); extern int mnt_fs_get_id(struct libmnt_fs *fs); extern int mnt_fs_get_parent_id(struct libmnt_fs *fs); extern dev_t mnt_fs_get_devno(struct libmnt_fs *fs); +extern pid_t mnt_fs_get_tid(struct libmnt_fs *fs); extern const char *mnt_fs_get_swaptype(struct libmnt_fs *fs); extern off_t mnt_fs_get_size(struct libmnt_fs *fs); |