summaryrefslogtreecommitdiffstats
path: root/fs/exfat/dir.c
diff options
context:
space:
mode:
authorChristophe Vu-Brugier <christophe.vu-brugier@seagate.com>2021-11-02 22:23:57 +0100
committerNamjae Jeon <linkinjeon@kernel.org>2022-01-10 03:00:01 +0100
commit8cf058834b11c08b344fc4549b03d723f16c9241 (patch)
tree6144f79e5bb4460d9a72145058013b6e9aad328e /fs/exfat/dir.c
parentexfat: fix typos in comments (diff)
downloadlinux-8cf058834b11c08b344fc4549b03d723f16c9241.tar.xz
linux-8cf058834b11c08b344fc4549b03d723f16c9241.zip
exfat: make exfat_find_location() static
Make exfat_find_location() static. Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/dir.c')
-rw-r--r--fs/exfat/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exfat/dir.c b/fs/exfat/dir.c
index ac14055bf38a..68ad54113d8b 100644
--- a/fs/exfat/dir.c
+++ b/fs/exfat/dir.c
@@ -656,8 +656,8 @@ static int exfat_walk_fat_chain(struct super_block *sb,
return 0;
}
-int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
- int entry, sector_t *sector, int *offset)
+static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
+ int entry, sector_t *sector, int *offset)
{
int ret;
unsigned int off, clu = 0;