From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWW4j-0001rB-QH for qemu-devel@nongnu.org; Mon, 31 Aug 2015 16:53:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWW4i-0002WH-FM for qemu-devel@nongnu.org; Mon, 31 Aug 2015 16:53:09 -0400 References: <1439939415-18180-1-git-send-email-mreitz@redhat.com> <1439939415-18180-3-git-send-email-mreitz@redhat.com> From: Eric Blake Message-ID: <55E4BEAC.9030905@redhat.com> Date: Mon, 31 Aug 2015 14:53:00 -0600 MIME-Version: 1.0 In-Reply-To: <1439939415-18180-3-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TKV4gcipgnXHbqmWXqlGVna7kd5Hedb1I" Subject: Re: [Qemu-devel] [PATCH v4 2/6] block: Avoid BlockDriverState.filename List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TKV4gcipgnXHbqmWXqlGVna7kd5Hedb1I Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/18/2015 05:10 PM, Max Reitz wrote: > In places which directly pass a filename to the OS, we should not use > the filename field at all but exact_filename instead (although the > former currently equals the latter if that is set). >=20 > In raw_open_common(), we do not need to access BDS.filename because we > already have a local variable pointing to the filename. >=20 > Signed-off-by: Max Reitz > --- > block.c | 5 +++-- > block/gluster.c | 2 +- > block/raw-posix.c | 12 ++++++------ > block/raw-win32.c | 4 ++-- > 4 files changed, 12 insertions(+), 11 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --TKV4gcipgnXHbqmWXqlGVna7kd5Hedb1I Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJV5L6sAAoJEKeha0olJ0NqHEwIAJnniKSc4lnVo4HNn9/AxCXg K8ad0K96Nnmq11vzwh1xZPmA/cWh1QNFxGnoPLqfIR0c51/3c6urpbOwwT2aQ6BI HG/xTUPyisH8BFtbqVNAOETodmOA1KUBYavu25VUUmcNmYRY6LosccWAKY4jGMof 6Z1AweubN4gOx/+RZVShvxk2hrC+MUxVrJbN+gClSlAdLEDdzPRwtzVWQwFa40oP ESlAERhs7srascahwsUUrmboZ143SLPXtzixObRSiEdErCVObSflB/oXcm6xY0Tg mTflL0U99i9gd7+gyqEQ4+RitR4zynISbYV2ZI7tT8MT3efB8BXY+mLTl6fdowY= =NA2R -----END PGP SIGNATURE----- --TKV4gcipgnXHbqmWXqlGVna7kd5Hedb1I--