diff options
author | Karel Zak | 2016-02-11 11:39:16 +0100 |
---|---|---|
committer | Karel Zak | 2016-02-11 11:39:16 +0100 |
commit | a125123f8bb16354da1231630370f50354a78cbe (patch) | |
tree | 236ba045debf99dfc06e9b3cc358605ca46c68cc /include/pt-sgi.h | |
parent | swapon: do not run execvp() calls when swapon is setuid binary (diff) | |
download | kernel-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 'include/pt-sgi.h')
0 files changed, 0 insertions, 0 deletions