diff options
author | Laszlo Ersek <lersek@redhat.com> | 2020-12-16 22:11:21 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-21 17:16:23 +0000 |
commit | 647340b0ce763dd8be196fca6499e3ec50da01bd (patch) | |
tree | 24b61ba44b2c310ceb7bdd2e5b5038ec0fa4f011 /OvmfPkg/VirtioFsDxe/VirtioFsDxe.h | |
parent | dd0911859f046f98528dc1875c86252a0565c14b (diff) | |
download | edk2-647340b0ce763dd8be196fca6499e3ec50da01bd.tar.gz edk2-647340b0ce763dd8be196fca6499e3ec50da01bd.tar.bz2 edk2-647340b0ce763dd8be196fca6499e3ec50da01bd.zip |
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_SETATTR
Add the VirtioFsFuseSetAttr() function, for sending the FUSE_SETATTR
command to the Virtio Filesystem device.
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-45-lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'OvmfPkg/VirtioFsDxe/VirtioFsDxe.h')
-rw-r--r-- | OvmfPkg/VirtioFsDxe/VirtioFsDxe.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OvmfPkg/VirtioFsDxe/VirtioFsDxe.h b/OvmfPkg/VirtioFsDxe/VirtioFsDxe.h index a6dfac71f4..9e6348f938 100644 --- a/OvmfPkg/VirtioFsDxe/VirtioFsDxe.h +++ b/OvmfPkg/VirtioFsDxe/VirtioFsDxe.h @@ -309,6 +309,16 @@ VirtioFsFuseGetAttr ( );
EFI_STATUS
+VirtioFsFuseSetAttr (
+ IN OUT VIRTIO_FS *VirtioFs,
+ IN UINT64 NodeId,
+ IN UINT64 *Size OPTIONAL,
+ IN UINT64 *Atime OPTIONAL,
+ IN UINT64 *Mtime OPTIONAL,
+ IN UINT32 *Mode OPTIONAL
+ );
+
+EFI_STATUS
VirtioFsFuseMkDir (
IN OUT VIRTIO_FS *VirtioFs,
IN UINT64 ParentNodeId,
|