]> granicus.if.org Git - spl/commitdiff
sun-fix-whitespace
authorRicardo M. Correia <Ricardo.M.Correia@Sun.COM>
Thu, 7 Jan 2010 16:58:30 +0000 (16:58 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 Jan 2010 17:37:54 +0000 (09:37 -0800)
Whitespace fixes.

Signed-off-by: Ricardo M. Correia <Ricardo.M.Correia@Sun.COM>
include/sys/list.h
module/spl/spl-err.c
module/spl/spl-vnode.c

index 0a4cf118376cd2a25ae2b816dd98a0e8ee244520..faf7c7a455f955054cb924b712da847ec58b18fc 100644 (file)
@@ -167,7 +167,7 @@ list_prev(list_t *list, void *object)
 static inline int
 list_link_active(list_node_t *node)
 {
-        return (node->next != LIST_POISON1) && (node->prev != LIST_POISON2);
+       return (node->next != LIST_POISON1) && (node->prev != LIST_POISON2);
 }
 
 static inline void
index f87e2a3947c5b88c3ff8b26aeae805757497b0c5..fcf7014007ea6e063c676628d257db4e54864c38 100644 (file)
@@ -53,10 +53,10 @@ vcmn_err(int ce, const char *fmt, va_list ap)
 {
        char msg[MAXMSGLEN];
 
-        if (ce == CE_PANIC)
-                vpanic(fmt, ap);
+       if (ce == CE_PANIC)
+               vpanic(fmt, ap);
 
-        if (ce != CE_NOTE) {
+       if (ce != CE_NOTE) {
                vsnprintf(msg, MAXMSGLEN - 1, fmt, ap);
 
                if (fmt[0] == '!')
@@ -64,7 +64,7 @@ vcmn_err(int ce, const char *fmt, va_list ap)
                               ce_prefix[ce], msg, ce_suffix[ce]);
                else
                        CERROR("%s%s%s", ce_prefix[ce], msg, ce_suffix[ce]);
-        }
+       }
 } /* vcmn_err() */
 EXPORT_SYMBOL(vcmn_err);
 
index 7d2080022ad8eddb9b9ef6046f4402a254869173..12e09b7817b29d358b363e17a031220ed0a92148 100644 (file)
@@ -102,9 +102,9 @@ int
 vn_open(const char *path, uio_seg_t seg, int flags, int mode,
        vnode_t **vpp, int x1, void *x2)
 {
-        struct file *fp;
-        struct kstat stat;
-        int rc, saved_umask = 0;
+       struct file *fp;
+       struct kstat stat;
+       int rc, saved_umask = 0;
        vnode_t *vp;
        ENTRY;
 
@@ -126,15 +126,15 @@ vn_open(const char *path, uio_seg_t seg, int flags, int mode,
        if (flags & FCREAT)
                saved_umask = xchg(&current->fs->umask, 0);
 
-        fp = filp_open(path, flags, mode);
+       fp = filp_open(path, flags, mode);
 
        if (flags & FCREAT)
                (void)xchg(&current->fs->umask, saved_umask);
 
-        if (IS_ERR(fp))
+       if (IS_ERR(fp))
                RETURN(-PTR_ERR(fp));
 
-        rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat);
+       rc = vfs_getattr(fp->f_vfsmnt, fp->f_dentry, &stat);
        if (rc) {
                filp_close(fp, 0);
                RETURN(-rc);