* [PATCH] Staging: exfat: exfat_super.c: fixed camelcase coding style issue
@ 2019-09-28 23:19 Jesse Barton
2019-09-29 10:09 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Jesse Barton @ 2019-09-28 23:19 UTC (permalink / raw)
To: valdis.kletnieks; +Cc: devel, linux-kernel, Jesse Barton
Fixed a coding style issue.
Signed-off-by: Jesse Barton <jessebarton95@gmail.com>
---
drivers/staging/exfat/exfat_super.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 5f6caee819a6..665eb25e318d 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -342,7 +342,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;
@@ -446,7 +446,7 @@ static int ffsMountVol(struct super_block *sb)
return ret;
}
-static int ffsUmountVol(struct super_block *sb)
+static int ffs_umount_vol(struct super_block *sb)
{
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
int err = FFS_SUCCESS;
@@ -518,7 +518,7 @@ static int ffsGetVolInfo(struct super_block *sb, struct vol_info_t *info)
return err;
}
-static int ffsSyncVol(struct super_block *sb, bool do_sync)
+static int ffs_sync_vol(struct super_block *sb, bool do_sync)
{
int err = FFS_SUCCESS;
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
@@ -3043,7 +3043,7 @@ static int exfat_file_release(struct inode *inode, struct file *filp)
struct super_block *sb = inode->i_sb;
EXFAT_I(inode)->fid.size = i_size_read(inode);
- ffsSyncVol(sb, false);
+ ffs_sync_vol(sb, false);
return 0;
}
@@ -3460,7 +3460,7 @@ static void exfat_put_super(struct super_block *sb)
if (__is_sb_dirty(sb))
exfat_write_super(sb);
- ffsUmountVol(sb);
+ ffs_umount_vol(sb);
sb->s_fs_info = NULL;
exfat_free_super(sbi);
@@ -3473,7 +3473,7 @@ static void exfat_write_super(struct super_block *sb)
__set_sb_clean(sb);
if (!sb_rdonly(sb))
- ffsSyncVol(sb, true);
+ ffs_sync_vol(sb, true);
__unlock_super(sb);
}
@@ -3485,7 +3485,7 @@ static int exfat_sync_fs(struct super_block *sb, int wait)
if (__is_sb_dirty(sb)) {
__lock_super(sb);
__set_sb_clean(sb);
- err = ffsSyncVol(sb, true);
+ err = ffs_sync_vol(sb, true);
__unlock_super(sb);
}
@@ -3865,10 +3865,10 @@ 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");
+ pr_err("[EXFAT] ffs_mount_vol failed\n");
goto out_fail;
}
@@ -3919,7 +3919,7 @@ static int exfat_fill_super(struct super_block *sb, void *data, int silent)
return 0;
out_fail2:
- ffsUmountVol(sb);
+ ffs_umount_vol(sb);
out_fail:
if (root_inode)
iput(root_inode);
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: exfat: exfat_super.c: fixed camelcase coding style issue
2019-09-28 23:19 [PATCH] Staging: exfat: exfat_super.c: fixed camelcase coding style issue Jesse Barton
@ 2019-09-29 10:09 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-09-29 10:09 UTC (permalink / raw)
To: Jesse Barton; +Cc: valdis.kletnieks, devel, linux-kernel
On Sat, Sep 28, 2019 at 06:19:10PM -0500, Jesse Barton wrote:
> Fixed a coding style issue.
What coding style issue? Always be specific here.
> Signed-off-by: Jesse Barton <jessebarton95@gmail.com>
> ---
> drivers/staging/exfat/exfat_super.c | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
Also remember to follow the output of scripts/get_maintainer.pl to
properly find the maintainer to cc:, otherwise patches might get
overlooked.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-29 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-28 23:19 [PATCH] Staging: exfat: exfat_super.c: fixed camelcase coding style issue Jesse Barton
2019-09-29 10:09 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).