virtiofsd: Allow use "-o xattrmap" without "-o xattr"
authorCarlos Venegas <jose.carlos.venegas.munoz@intel.com>
Wed, 14 Apr 2021 20:12:06 +0000 (20:12 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 6 May 2021 18:47:44 +0000 (19:47 +0100)
commita87d29e0d7879c7284a9441de1252f458bca6c2e
treed4c0cab15f3602a1a12421970a7465248ea1befb
parent0adb3aff3932d05b069bd2cb13480f1611cce654
virtiofsd: Allow use "-o xattrmap" without "-o xattr"

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