Skip to content

Commit 0266725

Browse files
raven-autorvalds
authored andcommitted
autofs4: fix some white space errors
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>
1 parent e3cd806 commit 0266725

6 files changed

Lines changed: 8 additions & 10 deletions

File tree

‎fs/autofs4/dev-ioctl.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,4 +765,3 @@ void autofs_dev_ioctl_exit(void)
765765
{
766766
misc_deregister(&_autofs_dev_ioctl_misc);
767767
}
768-

‎fs/autofs4/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent)
327327
*/
328328
s->s_root = root;
329329
return 0;
330-
330+
331331
/*
332332
* Failure ... clean up.
333333
*/

‎fs/autofs4/root.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ static int autofs4_dir_unlink(struct inode *dir, struct dentry *dentry)
618618
struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb);
619619
struct autofs_info *ino = autofs4_dentry_ino(dentry);
620620
struct autofs_info *p_ino;
621-
621+
622622
/* This allows root to remove symlinks */
623623
if (!autofs4_oz_mode(sbi) && !capable(CAP_SYS_ADMIN))
624624
return -EPERM;
@@ -698,7 +698,7 @@ static int autofs4_dir_rmdir(struct inode *dir, struct dentry *dentry)
698698
struct autofs_sb_info *sbi = autofs4_sbi(dir->i_sb);
699699
struct autofs_info *ino = autofs4_dentry_ino(dentry);
700700
struct autofs_info *p_ino;
701-
701+
702702
DPRINTK("dentry %p, removing %pd", dentry, dentry);
703703

704704
if (!autofs4_oz_mode(sbi))
@@ -878,10 +878,10 @@ static int autofs4_root_ioctl_unlocked(struct inode *inode, struct file *filp,
878878
if (_IOC_TYPE(cmd) != _IOC_TYPE(AUTOFS_IOC_FIRST) ||
879879
_IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT)
880880
return -ENOTTY;
881-
881+
882882
if (!autofs4_oz_mode(sbi) && !capable(CAP_SYS_ADMIN))
883883
return -EPERM;
884-
884+
885885
switch (cmd) {
886886
case AUTOFS_IOC_READY: /* Wait queue: go ahead and retry */
887887
return autofs4_wait_release(sbi, (autofs_wqt_t) arg, 0);

‎fs/autofs4/waitq.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static int autofs4_write(struct autofs_sb_info *sbi,
8888

8989
return (bytes > 0);
9090
}
91-
91+
9292
static void autofs4_notify_daemon(struct autofs_sb_info *sbi,
9393
struct autofs_wait_queue *wq,
9494
int type)
@@ -569,4 +569,3 @@ int autofs4_wait_release(struct autofs_sb_info *sbi, autofs_wqt_t wait_queue_tok
569569

570570
return 0;
571571
}
572-

‎include/uapi/linux/auto_fs.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct autofs_packet_hdr {
4848

4949
struct autofs_packet_missing {
5050
struct autofs_packet_hdr hdr;
51-
autofs_wqt_t wait_queue_token;
51+
autofs_wqt_t wait_queue_token;
5252
int len;
5353
char name[NAME_MAX+1];
5454
};

‎include/uapi/linux/auto_fs4.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ enum autofs_notify {
108108
/* v4 multi expire (via pipe) */
109109
struct autofs_packet_expire_multi {
110110
struct autofs_packet_hdr hdr;
111-
autofs_wqt_t wait_queue_token;
111+
autofs_wqt_t wait_queue_token;
112112
int len;
113113
char name[NAME_MAX+1];
114114
};

0 commit comments

Comments
 (0)