[Linux-kernel-mentees] [PATCH 14/18] staging: exfat: Rename function "ffsWriteStat" to "ffs_write_stat"

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


Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsWriteStat" to "ffs_write_stat" in
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 6d21c0161419..5fb084941c3b 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -1565,7 +1565,7 @@ static int ffs_read_stat(struct inode *inode, struct dir_entry_t *info)
 	return ret;
 }
 
-static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info)
+static int ffs_write_stat(struct inode *inode, struct dir_entry_t *info)
 {
 	int ret = 0;
 	struct timestamp_t tm;
@@ -3263,7 +3263,7 @@ static int exfat_write_inode(struct inode *inode, struct writeback_control *wbc)
 	exfat_time_unix2fat(&inode->i_ctime, &info.CreateTimestamp);
 	exfat_time_unix2fat(&inode->i_atime, &info.AccessTimestamp);
 
-	ffsWriteStat(inode, &info);
+	ffs_write_stat(inode, &info);
 
 	return 0;
 }
-- 
2.17.1



More information about the Linux-kernel-mentees mailing list