]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/loopdev: differentiate between setter()s and ioctl calls
authorKarel Zak <kzak@redhat.com>
Tue, 22 Jan 2019 10:12:42 +0000 (11:12 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 22 Jan 2019 10:12:42 +0000 (11:12 +0100)
commit9fcc893624dc4c9f2617fbf6827d7df3537d5452
tree9cb73708cb5bf2c19c86865e0e1fc661d7a53df2
parent56c2d2904f018e08131bc0ef0c90b6c69b762268
lib/loopdev: differentiate between setter()s and ioctl calls

Now the internal API uses loopcxt_set_...() to set context variables
as well as to call ioctls. This patch introduces loopcxt_ioctl_...()
to makes things more obvious to readers.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/loopdev.h
lib/loopdev.c
sys-utils/losetup.c