
17 Mar
2008
17 Mar
'08
12:58 p.m.
"Daniel P. Berrange" <berrange@redhat.com> wrote:
On Mon, Mar 17, 2008 at 05:36:49PM +0100, Jim Meyering wrote:
"Daniel P. Berrange" <berrange@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.