summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-04 08:19:40 +0100
committerMichael Adam <obnox@samba.org>2007-12-19 23:07:59 +0100
commit35f13ae58958e00aeb81bfe6cb5cf3c9dec3f62f (patch)
tree1c2aa3c02045d7e42fa3e89783f996dd5e2f2204
parentc8fc49ff1b18606577c12fd0d89b94378c25f0be (diff)
downloadsamba-35f13ae58958e00aeb81bfe6cb5cf3c9dec3f62f.tar.gz
samba-35f13ae58958e00aeb81bfe6cb5cf3c9dec3f62f.tar.bz2
samba-35f13ae58958e00aeb81bfe6cb5cf3c9dec3f62f.zip
Reformatting: wrap long lines and remove trailing spaces.
Michael (This used to be commit f6db5a0d0571130f765d8a0fb4e20e61cc8b2487)
-rw-r--r--source3/modules/vfs_zfsacl.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c
index e4b38f88ab..307fa9977f 100644
--- a/source3/modules/vfs_zfsacl.c
+++ b/source3/modules/vfs_zfsacl.c
@@ -46,7 +46,9 @@ static NTSTATUS zfs_get_nt_acl_common(const char *name,
/* read the number of file aces */
if((naces = acl(name, ACE_GETACLCNT, 0, NULL)) == -1) {
if(errno == ENOSYS) {
- DEBUG(9, ("acl(ACE_GETACLCNT, %s): Operation is not supported on the filesystem where the file reside"));
+ DEBUG(9, ("acl(ACE_GETACLCNT, %s): Operation is not "
+ "supported on the filesystem where the file "
+ "reside"));
} else {
DEBUG(9, ("acl(ACE_GETACLCNT, %s): %s ", name,
strerror(errno)));
@@ -145,7 +147,9 @@ static bool zfs_process_smbacl(files_struct *fsp, SMB4ACL_T *smbacl)
/* store acl */
if(acl(fsp->fsp_name, ACE_SETACL, naces, acebuf)) {
if(errno == ENOSYS) {
- DEBUG(9, ("acl(ACE_SETACL, %s): Operation is not supported on the filesystem where the file reside"));
+ DEBUG(9, ("acl(ACE_SETACL, %s): Operation is not "
+ "supported on the filesystem where the file "
+ "reside"));
} else {
DEBUG(9, ("acl(ACE_SETACL, %s): %s ", fsp->fsp_name,
strerror(errno)));
@@ -219,7 +223,7 @@ static NTSTATUS zfsacl_set_nt_acl(vfs_handle_struct *handle,
/* VFS operations structure */
-static vfs_op_tuple zfsacl_ops[] = {
+static vfs_op_tuple zfsacl_ops[] = {
{SMB_VFS_OP(zfsacl_fget_nt_acl), SMB_VFS_OP_FGET_NT_ACL,
SMB_VFS_LAYER_OPAQUE},
{SMB_VFS_OP(zfsacl_get_nt_acl), SMB_VFS_OP_GET_NT_ACL,