diff options
author | Stanislav Brabec | 2014-05-27 20:38:10 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-28 09:18:28 +0200 |
commit | f7e21185087c30c5f13bf92009238e316f8c1cf4 (patch) | |
tree | c8274bc7f0b83f52d3b468ee2ee63d8f00c6be9c /sys-utils/losetup.c | |
parent | lslogins: print systemd journal logs (diff) | |
download | kernel-qcow2-util-linux-f7e21185087c30c5f13bf92009238e316f8c1cf4.tar.gz kernel-qcow2-util-linux-f7e21185087c30c5f13bf92009238e316f8c1cf4.tar.xz kernel-qcow2-util-linux-f7e21185087c30c5f13bf92009238e316f8c1cf4.zip |
losetup: don't clear FD at EBUSY error in loopcxt_setup_device()
loopback lib clears the existing FD unconditionally at error in
loopcxt_setup_device(). This is done even after EBUSY, thus the second call
actually clears the previous setup wrongly.
Author: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'sys-utils/losetup.c')
0 files changed, 0 insertions, 0 deletions