summaryrefslogtreecommitdiffstats
path: root/libfdisk/docs
diff options
context:
space:
mode:
authorKarel Zak2019-06-18 13:30:42 +0200
committerKarel Zak2019-06-18 13:30:42 +0200
commit7571ec08a15d54ad05e4b619ccef5a6f10ce30bc (patch)
treee719f705734ae8f7f5744808f7265a22bb7aa6b3 /libfdisk/docs
parentMerge branch 'su_err_msg' of https://github.com/jhrozek/util-linux (diff)
downloadkernel-qcow2-util-linux-7571ec08a15d54ad05e4b619ccef5a6f10ce30bc.tar.gz
kernel-qcow2-util-linux-7571ec08a15d54ad05e4b619ccef5a6f10ce30bc.tar.xz
kernel-qcow2-util-linux-7571ec08a15d54ad05e4b619ccef5a6f10ce30bc.zip
libfdisk: add fdisk_assign_device_by_fd()
It's possible that caller has the device already opened for some other task, so let's reuse the file descriptor. Requested-by: Lennart Poettering <lennart@poettering.net> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/docs')
-rw-r--r--libfdisk/docs/libfdisk-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdisk/docs/libfdisk-sections.txt b/libfdisk/docs/libfdisk-sections.txt
index d0d362f60..f148da527 100644
--- a/libfdisk/docs/libfdisk-sections.txt
+++ b/libfdisk/docs/libfdisk-sections.txt
@@ -291,6 +291,7 @@ fdisk_unref_table
<FILE>context</FILE>
fdisk_context
fdisk_assign_device
+fdisk_assign_device_by_fd
fdisk_deassign_device
fdisk_reassign_device
fdisk_device_is_used