lib/efi: Add check for ioctl_iflags support
authorGeoff Levand <geoff@infradead.org>
Wed, 8 Aug 2018 00:01:10 +0000 (00:01 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 14 Aug 2018 01:11:48 +0000 (11:11 +1000)
commit614843c3975578a9e5ee8451d00e6974c8326f75
treebfea58d613b7735a3de5e7d19beb23554541d075
parentcacb745071a1137d39ef092717c22f76c31b4985
lib/efi: Add check for ioctl_iflags support

The efi tests may use a filesystem which does not support
ioctl_iflags.  Add a check and skip the ioctl_iflags
operations if not supported.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
lib/efi/efivar.c