autofs4: fix some white space errors
authorIan Kent <raven@themaw.net>
Tue, 15 Mar 2016 21:58:36 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
Fix some white space format errors.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/dev-ioctl.c
fs/autofs4/inode.c
fs/autofs4/root.c
fs/autofs4/waitq.c
include/uapi/linux/auto_fs.h
include/uapi/linux/auto_fs4.h

index c64b9fa839c5396e3d2b897ccbd0cc6310888f7d..b8d0329ba7757dbc3de6f2901905020ccb9e2021 100644 (file)
@@ -765,4 +765,3 @@ void autofs_dev_ioctl_exit(void)
 {
        misc_deregister(&_autofs_dev_ioctl_misc);
 }
-
index ad03705aac43531155855721b42fa29a8e0168b9..7872830d3de99461b91ea29c486478ed02f3760d 100644 (file)
@@ -327,7 +327,7 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent)
         */
        s->s_root = root;
        return 0;
-       
+
        /*
         * Failure ... clean up.
         */
index aa8228eb104b8fe7f47eea1f36de730daa003d5c..18c39824a009dae12fd4cb088c00820ac81f5a56 100644 (file)
@@ -618,7 +618,7 @@ static int autofs4_dir_unlink(struct inode *dir, struct dentry *dentry)
        struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb);
        struct autofs_info *ino = autofs4_dentry_ino(dentry);
        struct autofs_info *p_ino;
-       
+
        /* This allows root to remove symlinks */
        if (!autofs4_oz_mode(sbi) && !capable(CAP_SYS_ADMIN))
                return -EPERM;
@@ -698,7 +698,7 @@ static int autofs4_dir_rmdir(struct inode *dir, struct dentry *dentry)
        struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb);
        struct autofs_info *ino = autofs4_dentry_ino(dentry);
        struct autofs_info *p_ino;
-       
+
        DPRINTK("dentry %p, removing %pd", dentry, dentry);
 
        if (!autofs4_oz_mode(sbi))
@@ -878,10 +878,10 @@ static int autofs4_root_ioctl_unlocked(struct inode *inode, struct file *filp,
        if (_IOC_TYPE(cmd) != _IOC_TYPE(AUTOFS_IOC_FIRST) ||
             _IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT)
                return -ENOTTY;
-       
+
        if (!autofs4_oz_mode(sbi) && !capable(CAP_SYS_ADMIN))
                return -EPERM;
-       
+
        switch (cmd) {
        case AUTOFS_IOC_READY:  /* Wait queue: go ahead and retry */
                return autofs4_wait_release(sbi, (autofs_wqt_t) arg, 0);
index 4aeae3b9f278aa6113b2304865ecbf3c8a28b86f..a8a94621d8136ab1b121554dfefcbd854f25d42e 100644 (file)
@@ -88,7 +88,7 @@ static int autofs4_write(struct autofs_sb_info *sbi,
 
        return (bytes > 0);
 }
-       
+
 static void autofs4_notify_daemon(struct autofs_sb_info *sbi,
                                 struct autofs_wait_queue *wq,
                                 int type)
@@ -569,4 +569,3 @@ int autofs4_wait_release(struct autofs_sb_info *sbi, autofs_wqt_t wait_queue_tok
 
        return 0;
 }
-
index 5fe176aa61d1a09d03b395e05fa4aea92f07bba2..9175a1b4dc69a41301f0576939eeb78e75e02887 100644 (file)
@@ -48,7 +48,7 @@ struct autofs_packet_hdr {
 
 struct autofs_packet_missing {
        struct autofs_packet_hdr hdr;
-        autofs_wqt_t wait_queue_token;
+       autofs_wqt_t wait_queue_token;
        int len;
        char name[NAME_MAX+1];
 };     
index 924fb1adab0b7096c032a8647431886aa922cd8f..8f8f1bdcca8c07c8b237daf71525768d4685fc0f 100644 (file)
@@ -108,7 +108,7 @@ enum autofs_notify {
 /* v4 multi expire (via pipe) */
 struct autofs_packet_expire_multi {
        struct autofs_packet_hdr hdr;
-        autofs_wqt_t wait_queue_token;
+       autofs_wqt_t wait_queue_token;
        int len;
        char name[NAME_MAX+1];
 };