Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/udf Trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/d8a8b77cc6a1
branches:  trunk
changeset: 949396:d8a8b77cc6a1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 11 22:02:28 2021 +0000

description:
Trailing whitespace

diffstat:

 sys/arch/xen/xen/xenevt.c |  16 +++++++-------
 sys/fs/udf/udf_subr.c     |  52 +++++++++++++++++++++++-----------------------
 2 files changed, 34 insertions(+), 34 deletions(-)

diffs (286 lines):

diff -r 4bd395e1f424 -r d8a8b77cc6a1 sys/arch/xen/xen/xenevt.c
--- a/sys/arch/xen/xen/xenevt.c Mon Jan 11 22:01:14 2021 +0000
+++ b/sys/arch/xen/xen/xenevt.c Mon Jan 11 22:02:28 2021 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xenevt.c,v 1.62 2021/01/11 22:01:14 skrll Exp $      */
+/*      $NetBSD: xenevt.c,v 1.63 2021/01/11 22:02:28 skrll Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.62 2021/01/11 22:01:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.63 2021/01/11 22:02:28 skrll Exp $");
 
 #include "opt_xen.h"
 #include <sys/param.h>
@@ -158,7 +158,7 @@
        op.u.alloc_unbound.dom = DOMID_SELF;
        op.u.alloc_unbound.remote_dom = DOMID_SELF;
        if (HYPERVISOR_event_channel_op(&op) != 0)
-               panic("%s: Failed to allocate loopback event\n", __func__);     
+               panic("%s: Failed to allocate loopback event\n", __func__);
 
        return op.u.alloc_unbound.port;
 }
@@ -604,7 +604,7 @@
        case IOCTL_EVTCHN_UNBIND:
        {
                struct ioctl_evtchn_unbind *unbind = addr;
-               
+
                if (unbind->port >= NR_EVENT_CHANNELS)
                        return EINVAL;
                mutex_enter(&devevent_lock);
@@ -625,7 +625,7 @@
        case IOCTL_EVTCHN_NOTIFY:
        {
                struct ioctl_evtchn_notify *notify = addr;
-               
+
                if (notify->port >= NR_EVENT_CHANNELS)
                        return EINVAL;
                mutex_enter(&devevent_lock);
@@ -645,11 +645,11 @@
        return 0;
 }
 
-/*      
- * Support for poll() system call  
+/*
+ * Support for poll() system call
  *
  * Return true if the specific operation will not block indefinitely.
- */      
+ */
 
 static int
 xenevt_fpoll(struct file *fp, int events)
diff -r 4bd395e1f424 -r d8a8b77cc6a1 sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c     Mon Jan 11 22:01:14 2021 +0000
+++ b/sys/fs/udf/udf_subr.c     Mon Jan 11 22:02:28 2021 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: udf_subr.c,v 1.151 2021/01/11 22:01:15 skrll Exp $ */
+/* $NetBSD: udf_subr.c,v 1.152 2021/01/11 22:02:28 skrll Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
  * All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -12,7 +12,7 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
@@ -23,13 +23,13 @@
  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * 
+ *
  */
 
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.151 2021/01/11 22:01:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.152 2021/01/11 22:02:28 skrll Exp $");
 #endif /* not lint */
 
 
@@ -809,7 +809,7 @@
                if (ret == EWOULDBLOCK) {
                        DPRINTF(LOCKING, ( "udf_lock_node: udf_node %p would block "
                                "wanted at %s:%d, previously locked at %s:%d\n",
-                               udf_node, fname, lineno, 
+                               udf_node, fname, lineno,
                                udf_node->lock_fname, udf_node->lock_lineno));
                }
        }
@@ -982,7 +982,7 @@
 }
 
 
-/* 
+/*
  * BUGALERT: some rogue implementations use random physical partition
  * numbers to break other implementations so lookup the number.
  */
@@ -1590,7 +1590,7 @@
                if (partd == NULL)
                        continue;
                parthdr = &partd->_impl_use.part_hdr;
-       
+
                len     = udf_rw32(parthdr->unalloc_space_table.len);
                if (len) {
                        printf("UDF mount: space tables not supported\n");
@@ -1649,7 +1649,7 @@
                if (partd == NULL)
                        continue;
                parthdr = &partd->_impl_use.part_hdr;
-       
+
                len     = udf_rw32(parthdr->freed_space_table.len);
                if (len) {
                        printf("UDF mount: space tables not supported\n");
@@ -2014,7 +2014,7 @@
 
                DPRINTF(VOLUMES, ("\t%d -> %d(%d) type %d\n", log_part,
                    raw_phys_part, phys_part, pmap_type));
-       
+
                if (phys_part == UDF_PARTITIONS)
                        return EINVAL;
                if (pmap_type == UDF_VTOP_TYPE_UNKNOWN)
@@ -2130,7 +2130,7 @@
        snprintb(bits, sizeof(bits), UDFONERROR_BITS, ump->lvreadwrite);
        DPRINTF(VOLUMES, ("\tactions on logvol errors %s\n", bits));
 
-       DPRINTF(VOLUMES, ("\tselected sheduler `%s`\n", 
+       DPRINTF(VOLUMES, ("\tselected sheduler `%s`\n",
                (ump->strategy == &udf_strat_direct) ? "Direct" :
                (ump->strategy == &udf_strat_sequential) ? "Sequential" :
                (ump->strategy == &udf_strat_rmw) ? "RMW" : "UNKNOWN!"));
@@ -2314,12 +2314,12 @@
  * (a) inside the file's (e)fe in the length of the extended attribute area
  * before the allocation descriptors/filedata
  *
- * (b) in a file referenced by (e)fe->ext_attr_icb and 
+ * (b) in a file referenced by (e)fe->ext_attr_icb and
  *
  * (c) in the e(fe)'s associated stream directory that can hold various
  * sub-files. In the stream directory a few fixed named subfiles are reserved
  * for NT/Unix ACL's and OS/2 attributes.
- * 
+ *
  * NOTE: Extended attributes are read randomly but allways written
  * *atomicaly*. For ACL's this interface is propably different but not known
  * to me yet.
@@ -2587,7 +2587,7 @@
 
 /* --------------------------------------------------------------------- */
 
-static int 
+static int
 udf_update_lvid_from_vat_extattr(struct udf_node *vat_node)
 {
        struct udf_mount       *ump;
@@ -2654,7 +2654,7 @@
 }
 
 
-static int 
+static int
 udf_update_vat_extattr_from_lvid(struct udf_node *vat_node)
 {
        struct udf_mount       *ump;
@@ -3005,7 +3005,7 @@
                lvinfo->min_udf_readver  = vat->min_udf_readver;
                lvinfo->min_udf_writever = vat->min_udf_writever;
                lvinfo->max_udf_writever = vat->max_udf_writever;
-       
+
                udf_update_logvolname(ump, vat->logvol_id);
        }
 
@@ -3061,7 +3061,7 @@
        mapping = mapping;
 
        DPRINTF(VOLUMES, ("Searching VAT\n"));
-       
+
        /*
         * Start reading forward in blocks from the first possible vat
         * location. If not found in this block, start again a bit before
@@ -3069,7 +3069,7 @@
         */
        late_vat_loc = ump->last_possible_vat_location;
        early_vat_loc = MAX(late_vat_loc - 64, ump->first_possible_vat_location);
- 
+
        DPRINTF(VOLUMES, ("\tfull range %d to %d\n", early_vat_loc, late_vat_loc));
        accepted_vat_node = NULL;
        do {
@@ -4119,7 +4119,7 @@
 unix_mode_to_udf_perm(mode_t mode)
 {
        uint32_t perm;
-       
+
        perm  = ((mode & S_IRWXO)     );
        perm |= ((mode & S_IRWXG) << 2);
        perm |= ((mode & S_IRWXU) << 4);
@@ -4423,7 +4423,7 @@
                uid = (uid_t)udf_rw32(efe->uid);
                gid = (gid_t)udf_rw32(efe->gid);
        }
-       
+
        /* do the uid/gid translation game */
        if (uid == (uid_t) -1)
                uid = ump->mount_args.anon_uid;
@@ -4551,7 +4551,7 @@
  *
  */
 
-int 
+int
 udf_lookup_name_in_dir(struct vnode *vp, const char *name, int namelen,
        struct long_ad *icb_loc, int *found)
 {
@@ -4873,7 +4873,7 @@
 
        /* write out */
        error = vn_rdwr(UIO_WRITE, dir_node->vnode,
-                       fid, fidsize, diroffset, 
+                       fid, fidsize, diroffset,
                        UIO_SYSSPACE, IO_ALTSEMANTICS | IO_NODELOCKED,
                        FSCRED, NULL, NULL);
        if (error)
@@ -5036,7 +5036,7 @@
 
        /* write out */
        error = vn_rdwr(UIO_WRITE, dir_node->vnode,
-                       fid, fidsize, diroffset, 
+                       fid, fidsize, diroffset,
                        UIO_SYSSPACE, IO_ALTSEMANTICS | IO_NODELOCKED,
                        FSCRED, NULL, NULL);
 
@@ -5240,7 +5240,7 @@
 
        /* writeout FID/update parent directory */
        error = vn_rdwr(UIO_WRITE, dvp,
-                       fid, chosen_size, chosen_fid_pos, 
+                       fid, chosen_size, chosen_fid_pos,
                        UIO_SYSSPACE, IO_ALTSEMANTICS | IO_NODELOCKED,
                        FSCRED, NULL, NULL);
 
@@ -5422,7 +5422,7 @@
 
                /* choose this one */
                last_fe_icb_loc = icb_loc;
-               
+
                /* record and process/update (ext)fentry */
                if (dscr_type == TAGID_FENTRY) {
                        if (udf_node->fe)
@@ -6494,7 +6494,7 @@
                udf_sync_pass(ump, cred, 3, &ndirty);
                DPRINTF(SYNC, ("counted num dirty pending blocks %d\n",
                        ndirty));
-       
+
                if (ndirty) {
                        /* 1/4 second wait */
                        kpause("udfsync2", false, hz/4, NULL);



Home | Main Index | Thread Index | Old Index