]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VirtioFsDxe: add helper for determining file size update
authorLaszlo Ersek <lersek@redhat.com>
Wed, 16 Dec 2020 21:11:22 +0000 (22:11 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 21 Dec 2020 17:16:23 +0000 (17:16 +0000)
commit6c33d7b2b1c42ab4df56b4cbecf516c6eb123112
treead6e51d196b08408e22b7a83ace575e83dfd93a3
parent647340b0ce763dd8be196fca6499e3ec50da01bd
OvmfPkg/VirtioFsDxe: add helper for determining file size update

Add the VirtioFsGetFuseSizeUpdate() function, for determining whether an
EFI_FILE_PROTOCOL.SetInfo() invocation requests a file size update.

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3097
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20201216211125.19496-46-lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
OvmfPkg/VirtioFsDxe/Helpers.c
OvmfPkg/VirtioFsDxe/VirtioFsDxe.h