]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: Fix trailing whitespace
authorVolker Lendecke <vl@samba.org>
Thu, 23 Oct 2025 18:45:04 +0000 (20:45 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Nov 2025 13:29:30 +0000 (13:29 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/modules/vfs_default_quota.c
source3/modules/vfs_extd_audit.c
source3/modules/vfs_fileid.c
source3/modules/vfs_shadow_copy.c

index 326eb8c8f0a79345be6d088fc17ecff3fe1a7908..2365f9d196ba1ebb7aff2118578898170150e32e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
@@ -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)
- * 
+ *
  * "<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.
  *     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 "<prefix>:uid" parameter.
- *     
+ *
  *     - default value: yes (that means to report NO_LIMIT)
  *     - e.g.: default_quota:uid nolimit = no
- * 
+ *
  * "<myprefix>:gid" parameter takes a integer argument,
  *     it's just like "<prefix>:uid" but for group quotas.
  *     (NOTE: group quotas are not supported from the windows explorer!)
@@ -61,7 +61,7 @@
  * "<myprefix>:gid nolimit" parameter takes a boolean argument,
  *     it's just like "<prefix>: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
  *
index 780212c65ce9b829dda7ece835b95fb7c97e0a2e..7db6fe24ac1da153777eb3d4f99c822d92eee053 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Auditing VFS module for samba.  Log selected file operations to syslog
  * facility.
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
@@ -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;
 }
index 2c67946efb3fdb52dbffd08581c9d70c96c8293f..f76899e37e47f034e5bac2648dc346e18db5f85c 100644 (file)
@@ -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;
 }
 
index 1796bd1573f054428c6ca0a6c790ae1acdba9339..87fc191904ce4a9af9bca33d2817d6e866325642 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
@@ -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));
        }