aboutsummaryrefslogtreecommitdiff
path: root/tests/test-image-locking.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-10-11 15:21:34 +0800
committerKevin Wolf <kwolf@redhat.com>2018-11-12 17:46:57 +0100
commitf2e3af29b70624659a50903bd075e1663b64c9da (patch)
treed2470f7ad5e65b49573615f34628553eb8d4d40c /tests/test-image-locking.c
parent2996ffad3acabe890fbb4f84a069cdc325a68108 (diff)
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 <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-image-locking.c')
0 files changed, 0 insertions, 0 deletions