OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_UNLINK / FUSE_RMDIR
The FUSE_UNLINK and FUSE_RMDIR commands only differ in the opcode. Add a common function for wrapping both. 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-25-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
ca61b84586
commit
0771671c4b
@@ -115,6 +115,8 @@ typedef enum {
|
||||
VirtioFsFuseOpLookup = 1,
|
||||
VirtioFsFuseOpForget = 2,
|
||||
VirtioFsFuseOpMkDir = 9,
|
||||
VirtioFsFuseOpUnlink = 10,
|
||||
VirtioFsFuseOpRmDir = 11,
|
||||
VirtioFsFuseOpOpen = 14,
|
||||
VirtioFsFuseOpRelease = 18,
|
||||
VirtioFsFuseOpFsync = 20,
|
||||
|
Reference in New Issue
Block a user