summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKarel Zak2016-02-11 11:39:16 +0100
committerKarel Zak2016-02-11 11:39:16 +0100
commita125123f8bb16354da1231630370f50354a78cbe (patch)
tree236ba045debf99dfc06e9b3cc358605ca46c68cc /tools
parentswapon: do not run execvp() calls when swapon is setuid binary (diff)
downloadkernel-qcow2-util-linux-a125123f8bb16354da1231630370f50354a78cbe.tar.gz
kernel-qcow2-util-linux-a125123f8bb16354da1231630370f50354a78cbe.tar.xz
kernel-qcow2-util-linux-a125123f8bb16354da1231630370f50354a78cbe.zip
swapon: simplify ctl->device usage
* use and initialize ctl->{label,uuid,device} by do_swapon() only * remove ctl->canonic, function arguments are good enough for this Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions