[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/12] virtiofsd: Allow use "-o xattrmap" without "-o xattr"
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[PULL 02/12] virtiofsd: Allow use "-o xattrmap" without "-o xattr" |
Date: |
Thu, 6 May 2021 19:56:31 +0100 |
From: Carlos Venegas <jose.carlos.venegas.munoz@intel.com>
When -o xattrmap is used, it will not work unless xattr is enabled.
This patch enables xattr when -o xattrmap is used.
Signed-off-by: Carlos Venegas <jose.carlos.venegas.munoz@intel.com>
Message-Id: <20210414201207.3612432-2-jose.carlos.venegas.munoz@intel.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
---
tools/virtiofsd/passthrough_ll.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/virtiofsd/passthrough_ll.c b/tools/virtiofsd/passthrough_ll.c
index 6592f96f68..2c36f4ec46 100644
--- a/tools/virtiofsd/passthrough_ll.c
+++ b/tools/virtiofsd/passthrough_ll.c
@@ -3831,6 +3831,7 @@ int main(int argc, char *argv[])
}
if (lo.xattrmap) {
+ lo.xattr = 1;
parse_xattrmap(&lo);
}
--
2.31.1
- [PULL 00/12] virtiofs queue, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 01/12] virtiofsd: Fix side-effect in assert(), Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 02/12] virtiofsd: Allow use "-o xattrmap" without "-o xattr",
Dr. David Alan Gilbert (git) <=
- [PULL 04/12] virtiofs: Fixup printf args, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 05/12] virtiofsd: Don't assume header layout, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 03/12] virtiofsd: Add help for -o xattr-mapping, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 06/12] virtiofsd: Changed allocations of fuse_req to GLib functions, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 07/12] virtiofsd: Changed allocations of iovec to GLib's functions, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 08/12] virtiofsd: Changed allocations of fuse_session to GLib's functions, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 11/12] virtiofsd/passthrough_ll.c: Changed local allocations to GLib functions, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 12/12] virtiofsd/fuse_virtio.c: Changed allocations of locals to GLib, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 10/12] virtiofsd: Changed allocations of fv_VuDev & its internals to GLib functions, Dr. David Alan Gilbert (git), 2021/05/06
- [PULL 09/12] virtiofsd: Changed allocation of lo_map_elems to GLib's functions, Dr. David Alan Gilbert (git), 2021/05/06