mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
fs: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
530b641278
commit
8e24eea728
28 changed files with 57 additions and 57 deletions
|
|
@ -242,7 +242,7 @@ int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus)
|
|||
/* prevent the infinite loop of cluster chain */
|
||||
if (*fclus > limit) {
|
||||
fat_fs_panic(sb, "%s: detected the cluster chain loop"
|
||||
" (i_pos %lld)", __FUNCTION__,
|
||||
" (i_pos %lld)", __func__,
|
||||
MSDOS_I(inode)->i_pos);
|
||||
nr = -EIO;
|
||||
goto out;
|
||||
|
|
@ -253,7 +253,7 @@ int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus)
|
|||
goto out;
|
||||
else if (nr == FAT_ENT_FREE) {
|
||||
fat_fs_panic(sb, "%s: invalid cluster chain"
|
||||
" (i_pos %lld)", __FUNCTION__,
|
||||
" (i_pos %lld)", __func__,
|
||||
MSDOS_I(inode)->i_pos);
|
||||
nr = -EIO;
|
||||
goto out;
|
||||
|
|
@ -286,7 +286,7 @@ static int fat_bmap_cluster(struct inode *inode, int cluster)
|
|||
return ret;
|
||||
else if (ret == FAT_ENT_EOF) {
|
||||
fat_fs_panic(sb, "%s: request beyond EOF (i_pos %lld)",
|
||||
__FUNCTION__, MSDOS_I(inode)->i_pos);
|
||||
__func__, MSDOS_I(inode)->i_pos);
|
||||
return -EIO;
|
||||
}
|
||||
return dclus;
|
||||
|
|
|
|||
|
|
@ -546,7 +546,7 @@ int fat_free_clusters(struct inode *inode, int cluster)
|
|||
goto error;
|
||||
} else if (cluster == FAT_ENT_FREE) {
|
||||
fat_fs_panic(sb, "%s: deleting FAT entry beyond EOF",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
err = -EIO;
|
||||
goto error;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ static int fat_free(struct inode *inode, int skip)
|
|||
} else if (ret == FAT_ENT_FREE) {
|
||||
fat_fs_panic(sb,
|
||||
"%s: invalid cluster chain (i_pos %lld)",
|
||||
__FUNCTION__, MSDOS_I(inode)->i_pos);
|
||||
__func__, MSDOS_I(inode)->i_pos);
|
||||
ret = -EIO;
|
||||
} else if (ret > 0) {
|
||||
err = fat_ent_write(inode, &fatent, FAT_ENT_EOF, wait);
|
||||
|
|
|
|||
Loading…
Reference in a new issue