From 0dd41394e39bbc0d58847db687ad194f27643485 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 23 Oct 2025 20:45:04 +0200 Subject: [PATCH] vfs: Fix trailing whitespace Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- source3/modules/vfs_default_quota.c | 14 +++++++------- source3/modules/vfs_extd_audit.c | 10 +++++----- source3/modules/vfs_fileid.c | 4 ++-- source3/modules/vfs_shadow_copy.c | 16 ++++++++-------- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/source3/modules/vfs_default_quota.c b/source3/modules/vfs_default_quota.c index 326eb8c8f0a..2365f9d196b 100644 --- a/source3/modules/vfs_default_quota.c +++ b/source3/modules/vfs_default_quota.c @@ -1,4 +1,4 @@ -/* +/* * Store default Quotas in a specified quota record * * Copyright (C) Stefan (metze) Metzmacher 2003 @@ -7,12 +7,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ @@ -35,7 +35,7 @@ * it can be overwrittem when you load the module in * the 'vfs objects' parameter like this: * vfs objects = default_quota:myprefix) - * + * * ":uid" parameter takes a integer argument, * it specifies the uid of the quota record, that will be taken for * storing the default USER-quotas. @@ -47,10 +47,10 @@ * it specifies if we should report the stored default quota values, * also for the user record, or if you should just report NO_LIMIT * to the windows client for the user specified by the ":uid" parameter. - * + * * - default value: yes (that means to report NO_LIMIT) * - e.g.: default_quota:uid nolimit = no - * + * * ":gid" parameter takes a integer argument, * it's just like ":uid" but for group quotas. * (NOTE: group quotas are not supported from the windows explorer!) @@ -61,7 +61,7 @@ * ":gid nolimit" parameter takes a boolean argument, * it's just like ":uid nolimit" but for group quotas. * (NOTE: group quotas are not supported from the windows explorer!) - * + * * - default value: yes (that means to report NO_LIMIT) * - e.g.: default_quota:uid nolimit = no * diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c index 780212c65ce..7db6fe24ac1 100644 --- a/source3/modules/vfs_extd_audit.c +++ b/source3/modules/vfs_extd_audit.c @@ -1,4 +1,4 @@ -/* +/* * Auditing VFS module for samba. Log selected file operations to syslog * facility. * @@ -11,12 +11,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ @@ -404,7 +404,7 @@ NTSTATUS vfs_extd_audit_init(TALLOC_CTX *ctx) { NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "extd_audit", &vfs_extd_audit_fns); - + if (!NT_STATUS_IS_OK(ret)) return ret; @@ -415,6 +415,6 @@ NTSTATUS vfs_extd_audit_init(TALLOC_CTX *ctx) } else { DEBUG(10, ("vfs_extd_audit: Debug class number of 'extd_audit': %d\n", vfs_extd_audit_debug_level)); } - + return ret; } diff --git a/source3/modules/vfs_fileid.c b/source3/modules/vfs_fileid.c index 2c67946efb3..f76899e37e4 100644 --- a/source3/modules/vfs_fileid.c +++ b/source3/modules/vfs_fileid.c @@ -157,7 +157,7 @@ static void fileid_load_mount_entries(struct fileid_handle_data *data) } endmntent(f); return; - + nomem: if (f) endmntent(f); @@ -187,7 +187,7 @@ static struct fileid_mount_entry *fileid_find_mount_entry(struct fileid_handle_d if (data->mount_entries[i].device == dev) { return &data->mount_entries[i]; } - } + } return NULL; } diff --git a/source3/modules/vfs_shadow_copy.c b/source3/modules/vfs_shadow_copy.c index 1796bd1573f..87fc191904c 100644 --- a/source3/modules/vfs_shadow_copy.c +++ b/source3/modules/vfs_shadow_copy.c @@ -1,4 +1,4 @@ -/* +/* * implementation of an Shadow Copy module * * Copyright (C) Stefan Metzmacher 2003-2004 @@ -7,12 +7,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ @@ -36,7 +36,7 @@ Z:\@GMT-2003.08.05-12.02.00\ e.g. - + Z:\testfile.txt Z:\@GMT-2003.08.05-12.02.00\testfile.txt @@ -47,7 +47,7 @@ Note: Files must differ to be displayed via Windows Explorer! - Directories are always displayed... + Directories are always displayed... */ static int vfs_shadow_copy_debug_level = DBGC_VFS; @@ -149,8 +149,8 @@ static int shadow_copy_closedir(vfs_handle_struct *handle, DIR *_dirp) SAFE_FREE(dirp->dirs); SAFE_FREE(dirp); - - return 0; + + return 0; } static int shadow_copy_get_shadow_copy_data(vfs_handle_struct *handle, @@ -269,7 +269,7 @@ NTSTATUS vfs_shadow_copy_init(TALLOC_CTX *ctx) DEBUG(0, ("%s: Couldn't register custom debugging class!\n", "vfs_shadow_copy_init")); } else { - DEBUG(10, ("%s: Debug class number of '%s': %d\n", + DEBUG(10, ("%s: Debug class number of '%s': %d\n", "vfs_shadow_copy_init","shadow_copy",vfs_shadow_copy_debug_level)); } -- 2.47.3