Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
exfat: avoid a separate __exfat_set_sb_dirty() function
Browse files Browse the repository at this point in the history
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
  • Loading branch information
arter97 committed Sep 18, 2019
1 parent 2da3144 commit 7111a37
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <asm/byteorder.h>
#include <asm/unaligned.h>

static inline void __exfat_set_sb_dirty(struct super_block *sb)
void exfat_set_sb_dirty(struct super_block *sb)
{
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0)
sb->s_dirt = 1;
Expand All @@ -38,11 +38,6 @@ static inline void __exfat_set_sb_dirty(struct super_block *sb)
#endif
}

void exfat_set_sb_dirty(struct super_block *sb)
{
__exfat_set_sb_dirty(sb);
}

static s32 check_type_size(void)
{
/* critical check for system requirement on size of DENTRY_T structure */
Expand Down

0 comments on commit 7111a37

Please sign in to comment.