nilfs-utils: fix coding style issues: space required after that ','

This fixes the following coding style issues:

 ERROR: space required after that ',' (ctx:VxV)
 #51: FILE: bin/lssu.c:51:
 +       {"index",required_argument, NULL, 'i'},
                 ^
 ERROR: space required after that ',' (ctx:VxV)
 #52: FILE: bin/lssu.c:52:
 +       {"lines",required_argument, NULL, 'n'},
                 ^
 ERROR: space required after that ',' (ctx:VxV)
 #88: FILE: sbin/mkfs/mkfs.c:88:
 +#define ROUNDUP_DIV(n,m)   (((n) - 1) / (m) + 1)
                       ^
 ERROR: space required after that ',' (ctx:VxV)
 #89: FILE: sbin/mkfs/mkfs.c:89:
 +#define max_t(type,x,y) \
                   ^
 ERROR: space required after that ',' (ctx:VxV)
 #89: FILE: sbin/mkfs/mkfs.c:89:
 +#define max_t(type,x,y) \
                      ^
 ERROR: space required after that ',' (ctx:VxV)
 #307: FILE: sbin/mkfs/mkfs.c:307:
 +#define BLKDISCARD     _IO(0x12,119)
                                ^
 ERROR: space required after that ',' (ctx:VxV)
 #311: FILE: sbin/mkfs/mkfs.c:311:
 +#define BLKDISCARDZEROES _IO(0x12,124)
                                  ^
 ERROR: space required after that ',' (ctx:VxV)
 #19: FILE: sbin/mkfs/bitops.c:19:
 +int ext2fs_set_bit(int nr,void * addr)
                          ^
 ERROR: space required after that ',' (ctx:VxV)
 #55: FILE: sbin/mkfs/mkfs.h:55:
 +extern int ext2fs_set_bit(int nr,void * addr);
                                  ^
 ...

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
nilfs-utils: fix coding style issues: space required before the open parenthesis

This fixes the following coding style issues:

 ERROR: space required before the open parenthesis '('
 #154: FILE: sbin/mount/sundries.c:154:
 +     while(1) {

 ERROR: space required before the open parenthesis '('
 #45: FILE: sbin/mount/mount_mntent.c:45:
 +       while(1) {

 ERROR: space required before the open parenthesis '('
 #92: FILE: sbin/mount/mount_mntent.c:92:
 +       while(s != ss) {

 ERROR: space required before the open parenthesis '('
 #211: FILE: sbin/mount/mount_mntent.c:211:
 +               while(isdigit(*s)) s++;

 ERROR: space required before the open parenthesis '('
 #214: FILE: sbin/mount/mount_mntent.c:214:
 +       if(*s && !is_space_or_tab(*s))

 ERROR: space required before the open parenthesis '('
 #218: FILE: sbin/mount/mount_mntent.c:218:
 +       if(isdigit(*s)) {

 ERROR: space required before the open parenthesis '('
 #220: FILE: sbin/mount/mount_mntent.c:220:
 +               while(isdigit(*s)) s++;

 ERROR: space required before the open parenthesis '('
 #223: FILE: sbin/mount/mount_mntent.c:223:
 +       if(*s && !is_space_or_tab(*s))

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
nilfs-utils: remove space chars before tabs or start of a line

This fixes the following coding style issues:

 WARNING: please, no spaces at the start of a line
 #1159: FILE: sbin/mkfs/mkfs.c:1159:
 +        if (argc > 0) {$
 ...
 WARNING: please, no spaces at the start of a line
 #1163: FILE: sbin/mkfs/mkfs.c:1163:
 +        }$

 WARNING: please, no space before tabs
 #1252: FILE: sbin/mkfs/mkfs.c:1252:
 +^Iraw_inode->i_blocks = ^I^Icpu_to_le64(nilfs.files[ino]->nblocks);$

 WARNING: please, no space before tabs
 #29: FILE: sbin/mkfs/mkfs.h:29:
 +#define NILFS_DISKHDR_SIZE ^I^I4096 /* HDD header (MBR+superblock) */$

 WARNING: please, no space before tabs
 #65: FILE: sbin/mkfs/mkfs.h:65:
 +#define BLKGETSIZE64 ^I_IOR(0x12, 114, size_t)$

 WARNING: please, no space before tabs
 #94: FILE: sbin/nilfs-resize/nilfs-resize.c:94:
 +#define BLKGETSIZE64 ^I_IOR(0x12, 114, size_t)$

 WARNING: please, no space before tabs
 #98: FILE: sbin/nilfs-resize/nilfs-resize.c:98:
 +#define FIFREEZE ^I_IOWR('X', 119, int)$

 WARNING: please, no space before tabs
 #525: FILE: sbin/cleanerd/cleanerd.c:525:
 +#define FIFREEZE ^I_IOWR('X', 119, int)$

 WARNING: please, no spaces at the start of a line
 #334: FILE: sbin/mount/fstab.c:334:
 +     die(EX_USER, "%s", strsignal(sig));$

 WARNING: please, no spaces at the start of a line
 #504: FILE: sbin/mount/mount.nilfs2.c:504:
 +        mtab_ok = check_mtab();$

 WARNING: please, no spaces at the start of a line
 #109: FILE: sbin/mount/mount_opts.c:109:
 +  { "relatime",^I0, 0, MS_RELATIME },   /* Update access times relative to$

 WARNING: please, no spaces at the start of a line
 #111: FILE: sbin/mount/mount_opts.c:111:
 +  { "norelatime", 0, 1, MS_RELATIME }, /* Update access time without regard$

 WARNING: please, no space before tabs
 #412: FILE: sbin/mount/umount.nilfs2.c:412:
 +^I^I^I} else if (errno != EBUSY) { ^I/* hmm ... */$

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
nilfs-utils: fix coding stype issues related to position of open brace

This fixes the following checkpatch errors:

 ERROR: that open brace { should be on the previous line
 #1141: FILE: sbin/mkfs/mkfs.c:1141:
 +       if ((optind == argc) && !show_version_only)
 +       {

 ERROR: that open brace { should be on the previous line
 #191: FILE: sbin/nilfs-tune/nilfs-tune.c:191:
 +       if (optind == argc)
 +       {

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
nilfs-utils: fix coding syle issues: "foo * bar" should be "foo *bar"

This fixes the following checkpatch errors:

 ERROR: "foo * bar" should be "foo *bar"
 #19: FILE: sbin/mkfs/bitops.c:19:
 +int ext2fs_set_bit(int nr, void * addr)

 ERROR: "foo * bar" should be "foo *bar"
 #31: FILE: sbin/mkfs/bitops.c:31:
 +int ext2fs_clear_bit(int nr, void * addr)

 ERROR: "foo * bar" should be "foo *bar"
 #43: FILE: sbin/mkfs/bitops.c:43:
 +int ext2fs_test_bit(int nr, const void * addr)

 ERROR: "foo * bar" should be "foo *bar"
 #55: FILE: sbin/mkfs/mkfs.h:55:
 +extern int ext2fs_set_bit(int nr, void * addr);

 ERROR: "foo * bar" should be "foo *bar"
 #56: FILE: sbin/mkfs/mkfs.h:56:
 +extern int ext2fs_clear_bit(int nr, void * addr);

 ERROR: "foo * bar" should be "foo *bar"
 #57: FILE: sbin/mkfs/mkfs.h:57:
 +extern int ext2fs_test_bit(int nr, const void * addr);

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
nilfs-utils: fix coding style issues related to trailing statements

This fixes the following checkpatch errors:

 ERROR: trailing statements should be on next line
 #97: FILE: lib/feature.c:97:
 +       for (i = 0; mask >>= 1; i++);

 ERROR: trailing statements should be on next line
 #469: FILE: sbin/mkfs/mkfs.c:469:
 +       for (n = 0; i > 1; i >>= 1) n++;

 ERROR: trailing statements should be on next line
 #1095: FILE: sbin/nilfs-resize/nilfs-resize.c:1095:
 +               case 's': size <<= 9; break;

 ERROR: trailing statements should be on next line
 #1096: FILE: sbin/nilfs-resize/nilfs-resize.c:1096:
 +               case 'K': size <<= 10; break;

 ERROR: trailing statements should be on next line
 #1097: FILE: sbin/nilfs-resize/nilfs-resize.c:1097:
 +               case 'M': size <<= 20; break;

 ERROR: trailing statements should be on next line
 #1098: FILE: sbin/nilfs-resize/nilfs-resize.c:1098:
 +               case 'G': size <<= 30; break;

 ERROR: trailing statements should be on next line
 #1099: FILE: sbin/nilfs-resize/nilfs-resize.c:1099:
 +               case 'T': size <<= 40; break;

 ERROR: trailing statements should be on next line
 #1100: FILE: sbin/nilfs-resize/nilfs-resize.c:1100:
 +               case 'P': size <<= 50; break;

 ERROR: trailing statements should be on next line
 #692: FILE: sbin/cleanerd/cldconfig.c:692:
 +                       while (((c = fgetc(fp)) != '\n') && (c != EOF)) ;

 ERROR: trailing statements should be on next line
 #234: FILE: sbin/mount/sundries.c:234:
 +         if (!this_len) continue; /* if two ',' appear in a row */

 ERROR: trailing statements should be on next line
 #211: FILE: sbin/mount/mount_mntent.c:211:
 +               while (isdigit(*s)) s++;

 ERROR: trailing statements should be on next line
 #220: FILE: sbin/mount/mount_mntent.c:220:
 +               while (isdigit(*s)) s++;

 ERROR: trailing statements should be on next line
 #261: FILE: sbin/mount/umount.nilfs2.c:261:
 +       else while (argc--)

 ERROR: trailing statements should be on next line
 #342: FILE: sbin/nilfs-clean/nilfs-clean.c:342:
 +               case 's': break;

 ERROR: trailing statements should be on next line
 #343: FILE: sbin/nilfs-clean/nilfs-clean.c:343:
 +               case 'm': period *= 60; break;

 ERROR: trailing statements should be on next line
 #344: FILE: sbin/nilfs-clean/nilfs-clean.c:344:
 +               case 'h': period *= 3600; break;

 ERROR: trailing statements should be on next line
 #345: FILE: sbin/nilfs-clean/nilfs-clean.c:345:
 +               case 'd': period *= 86400; break;

 ERROR: trailing statements should be on next line
 #346: FILE: sbin/nilfs-clean/nilfs-clean.c:346:
 +               case 'w': period *= 604800; break;

 ERROR: trailing statements should be on next line
 #347: FILE: sbin/nilfs-clean/nilfs-clean.c:347:
 +               case 'M': period *= 2678400; break;

 ERROR: trailing statements should be on next line
 #348: FILE: sbin/nilfs-clean/nilfs-clean.c:348:
 +               case 'Y': period *= 31536000; break;

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>