OvmfPkg/VirtioFsDxe: add helper for determining file mode bits update
Add the VirtioFsGetFuseModeUpdate() function, for determining whether an EFI_FILE_PROTOCOL.SetInfo() invocation requests an update to the file mode bits. 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-48-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
3cbd54b92f
commit
13a506d4f5
@@ -300,6 +300,14 @@ VirtioFsGetFuseTimeUpdates (
|
||||
OUT UINT64 *Mtime
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
VirtioFsGetFuseModeUpdate (
|
||||
IN EFI_FILE_INFO *Info,
|
||||
IN EFI_FILE_INFO *NewInfo,
|
||||
OUT BOOLEAN *Update,
|
||||
OUT UINT32 *Mode
|
||||
);
|
||||
|
||||
//
|
||||
// Wrapper functions for FUSE commands (primitives).
|
||||
//
|
||||
|
Reference in New Issue
Block a user