[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200211123859.10429-3-pragat.pandya@gmail.com>
Date: Tue, 11 Feb 2020 18:08:43 +0530
From: Pragat Pandya <pragat.pandya@...il.com>
To: gregkh@...uxfoundation.org, valdis.kletnieks@...edu
Cc: devel@...verdev.osuosl.or, linux-kernel@...r.kernel.org,
skhan@...uxfoundation.org, linux-fsdevel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
Pragat Pandya <pragat.pandya@...il.com>
Subject: [PATCH 02/18] staging: exfat: Rename function "ffsGetVolInfo" to "ffs_get_vol_info"
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@...il.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
Powered by blists - more mailing lists