A fix that lets xattr support be compiled without ACL support.
authorWayne Davison <wayned@samba.org>
Thu, 26 Oct 2006 15:14:03 +0000 (15:14 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 26 Oct 2006 15:14:03 +0000 (15:14 +0000)
xattrs.diff

index 2b8412d..74a00d9 100644 (file)
@@ -227,6 +227,15 @@ TODO:
  
        return file;
  }
+@@ -974,7 +985,7 @@ static struct file_struct *send_file_nam
+                                         unsigned short flags)
+ {
+       struct file_struct *file;
+-#ifdef SUPPORT_ACLS
++#if defined SUPPORT_ACLS || defined SUPPORT_XATTRS
+       statx sx;
+ #endif
 @@ -994,6 +1005,13 @@ static struct file_struct *send_file_nam
                        return NULL;
        }