qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3] block/file-posix: Pass FD to locking helper


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH 1/3] block/file-posix: Pass FD to locking helpers
Date: Fri, 27 Apr 2018 14:24:25 +0800
User-agent: Mutt/1.9.2 (2017-12-15)

On Sat, 04/21 00:09, Max Reitz wrote:
> raw_apply_lock_bytes() and raw_check_lock_bytes() currently take a
> BDRVRawState *, but they only use the lock_fd field.  During image
> creation, we do not have a BDRVRawState, but we do have an FD; so if we
> want to reuse the functions there, we should modify them to receive only
> the FD.
> 
> Signed-off-by: Max Reitz <address@hidden>

Reviewed-by: Fam Zheng <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]