]> Git Repo - qemu.git/commit
file-posix: Drop s->lock_fd
authorFam Zheng <[email protected]>
Thu, 11 Oct 2018 07:21:34 +0000 (15:21 +0800)
committerKevin Wolf <[email protected]>
Mon, 12 Nov 2018 16:46:57 +0000 (17:46 +0100)
commitf2e3af29b70624659a50903bd075e1663b64c9da
treed2470f7ad5e65b49573615f34628553eb8d4d40c
parent2996ffad3acabe890fbb4f84a069cdc325a68108
file-posix: Drop s->lock_fd

The lock_fd field is not strictly necessary because transferring locked
bytes from old fd to the new one shouldn't fail anyway. This spares the
user one fd per image.

Signed-off-by: Fam Zheng <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/file-posix.c
This page took 0.025191 seconds and 4 git commands to generate.