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/mountP.h | |
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/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 f7cd7d53d..a2922c2b3 100644 --- a/libmount/src/mountP.h +++ b/libmount/src/mountP.h @@ -218,6 +218,7 @@ struct libmnt_fs { int priority; /* swaps[5]: swap priority */ int flags; /* MNT_FS_* flags */ + pid_t tid; /* /proc/<tid>/mountinfo otherwise zero */ void *userdata; /* library independent data */ }; |