[Linux-kernel-mentees] [PATCH 02/18] staging: exfat: Rename function "ffsGetVolInfo" to "ffs_get_vol_info"

Pragat Pandya pragat.pandya at gmail.com
Tue Feb 11 12:38:43 UTC 2020


Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsGetVolInfo" to "ffs_get_vol_info"
in the source.

Signed-off-by: Pragat Pandya <pragat.pandya at gmail.com>
---
 drivers/staging/exfat/exfat_super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 1e47bfcebed5..06d8e3d60e9e 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -479,7 +479,7 @@ static int ffs_umount_vol(struct super_block *sb)
 	return err;
 }
 
-static int ffsGetVolInfo(struct super_block *sb, struct vol_info_t *info)
+static int ffs_get_vol_info(struct super_block *sb, struct vol_info_t *info)
 {
 	int err = 0;
 	struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
@@ -3341,7 +3341,7 @@ static int exfat_statfs(struct dentry *dentry, struct kstatfs *buf)
 	struct vol_info_t info;
 
 	if (p_fs->used_clusters == UINT_MAX) {
-		if (ffsGetVolInfo(sb, &info) == -EIO)
+		if (ffs_get_vol_info(sb, &info) == -EIO)
 			return -EIO;
 
 	} else {
-- 
2.17.1



More information about the Linux-kernel-mentees mailing list