"Daniel P. Berrange" <berrange(a)redhat.com> wrote:
On Mon, Mar 17, 2008 at 05:36:49PM +0100, Jim Meyering wrote:
> "Daniel P. Berrange" <berrange(a)redhat.com> wrote:
> > When SELinux is disabled fgetfilecon() may well return -1, if a file has no
> > extended attribute with security context data. This causes the storage pool
> > to skip that file. The fix is to check whether errno is ENODATA and treat
> > that as an expected error case & ignore it.
>
> Hi Dan,
>
> That code should handle ENOTSUP as well as ENODATA.
Ok, comitted that too
No problem.
I've just done it.