hfsplus: spaces/indentation clean-up
Fix incorrect spaces and indentation reported by checkpatch.pl. Signed-off-by: Anton Salikhmetov <alexo@tuxera.com> Signed-off-by: Christoph Hellwig <hch@tuxera.com>
This commit is contained in:
parent
21f2296a59
commit
20b7643d8e
4 changed files with 13 additions and 13 deletions
|
@ -213,7 +213,7 @@ static int hfsplus_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
||||||
err = -EIO;
|
err = -EIO;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
next:
|
next:
|
||||||
filp->f_pos++;
|
filp->f_pos++;
|
||||||
if (filp->f_pos >= inode->i_size)
|
if (filp->f_pos >= inode->i_size)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
@ -97,7 +97,7 @@ static int hfs_parse_new_pmap(struct super_block *sb, struct new_pmap *pm,
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (!memcmp(pm->pmPartType,"Apple_HFS", 9) &&
|
if (!memcmp(pm->pmPartType, "Apple_HFS", 9) &&
|
||||||
(sbi->part < 0 || sbi->part == i)) {
|
(sbi->part < 0 || sbi->part == i)) {
|
||||||
*part_start += be32_to_cpu(pm->pmPyPartStart);
|
*part_start += be32_to_cpu(pm->pmPyPartStart);
|
||||||
*part_size = be32_to_cpu(pm->pmPartBlkCnt);
|
*part_size = be32_to_cpu(pm->pmPartBlkCnt);
|
||||||
|
|
|
@ -215,7 +215,7 @@ int hfsplus_uni2asc(struct super_block *sb,
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
same:
|
same:
|
||||||
switch (c0) {
|
switch (c0) {
|
||||||
case 0:
|
case 0:
|
||||||
cc = 0x2400;
|
cc = 0x2400;
|
||||||
|
@ -226,7 +226,7 @@ int hfsplus_uni2asc(struct super_block *sb,
|
||||||
default:
|
default:
|
||||||
cc = c0;
|
cc = c0;
|
||||||
}
|
}
|
||||||
done:
|
done:
|
||||||
res = nls->uni2char(cc, op, len);
|
res = nls->uni2char(cc, op, len);
|
||||||
if (res < 0) {
|
if (res < 0) {
|
||||||
if (res == -ENAMETOOLONG)
|
if (res == -ENAMETOOLONG)
|
||||||
|
|
Loading…
Reference in a new issue