lkml.org 
[lkml]   [2020]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 13/18] staging: exfat: Rename function "ffsReadStat" to "ffs_read_stat"
Date
Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsReadStat" to "ffs_read_stat" in
source.

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

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 6fa005097a21..6d21c0161419 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -1435,7 +1435,7 @@ static int ffsSetAttr(struct inode *inode, u32 attr)
}
#endif

-static int ffsReadStat(struct inode *inode, struct dir_entry_t *info)
+static int ffs_read_stat(struct inode *inode, struct dir_entry_t *info)
{
s32 count;
int ret = 0;
@@ -3147,7 +3147,7 @@ static int exfat_fill_inode(struct inode *inode, struct file_id_t *fid)

memcpy(&(EXFAT_I(inode)->fid), fid, sizeof(struct file_id_t));

- ffsReadStat(inode, &info);
+ ffs_read_stat(inode, &info);

EXFAT_I(inode)->i_pos = 0;
EXFAT_I(inode)->target = NULL;
@@ -3643,7 +3643,7 @@ static int exfat_read_root(struct inode *inode)

EXFAT_I(inode)->target = NULL;

- ffsReadStat(inode, &info);
+ ffs_read_stat(inode, &info);

inode->i_uid = sbi->options.fs_uid;
inode->i_gid = sbi->options.fs_gid;
--
2.17.1
\
 
 \ /
  Last update: 2020-02-11 13:41    [W:0.072 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site