Skip to content

Commit 8cf0588

Browse files
cvubrugiernamjaejeon
authored andcommitted
exfat: make exfat_find_location() static
Make exfat_find_location() static. Signed-off-by: Christophe Vu-Brugier <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
1 parent 6fa96cd commit 8cf0588

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

fs/exfat/dir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ static int exfat_walk_fat_chain(struct super_block *sb,
656656
return 0;
657657
}
658658

659-
int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
660-
int entry, sector_t *sector, int *offset)
659+
static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
660+
int entry, sector_t *sector, int *offset)
661661
{
662662
int ret;
663663
unsigned int off, clu = 0;

fs/exfat/exfat_fs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,6 @@ int exfat_find_dir_entry(struct super_block *sb, struct exfat_inode_info *ei,
459459
struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname,
460460
int num_entries, unsigned int type, struct exfat_hint *hint_opt);
461461
int exfat_alloc_new_dir(struct inode *inode, struct exfat_chain *clu);
462-
int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
463-
int entry, sector_t *sector, int *offset);
464462
struct exfat_dentry *exfat_get_dentry(struct super_block *sb,
465463
struct exfat_chain *p_dir, int entry, struct buffer_head **bh,
466464
sector_t *sector);

0 commit comments

Comments
 (0)