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 12/18] staging: exfat: Rename function "ffsMountVol" to "ffs_mount_vol"
Date
Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsMountVol" to "ffs_mount_vol" in
source.

Signed-off-by: Pragat Pandya <pragat.pandya@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 05a4012c5c62..6fa005097a21 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -343,7 +343,7 @@ static inline void exfat_save_attr(struct inode *inode, u32 attr)
EXFAT_I(inode)->fid.attr = attr & (ATTR_RWMASK | ATTR_READONLY);
}

-static int ffsMountVol(struct super_block *sb)
+static int ffs_mount_vol(struct super_block *sb)
{
int i, ret;
struct pbr_sector_t *p_pbr;
@@ -3710,7 +3710,7 @@ static int exfat_fill_super(struct super_block *sb, void *data, int silent)
sb_min_blocksize(sb, 512);
sb->s_maxbytes = 0x7fffffffffffffffLL; /* maximum file size */

- ret = ffsMountVol(sb);
+ ret = ffs_mount_vol(sb);
if (ret) {
if (!silent)
pr_err("[EXFAT] ffsMountVol failed\n");
--
2.17.1
\
 
 \ /
  Last update: 2020-02-11 13:41    [W:0.274 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site