diff options
author | Christophe Vu-Brugier <christophe.vu-brugier@seagate.com> | 2021-11-02 22:23:57 +0100 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-01-10 11:00:01 +0900 |
commit | 8cf058834b11c08b344fc4549b03d723f16c9241 (patch) | |
tree | 6144f79e5bb4460d9a72145058013b6e9aad328e /fs/exfat | |
parent | 6fa96cd5ad7a0c8f3f3f6b2b5f062721e8f17a54 (diff) | |
download | linux-8cf058834b11c08b344fc4549b03d723f16c9241.tar.gz linux-8cf058834b11c08b344fc4549b03d723f16c9241.tar.bz2 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')
-rw-r--r-- | fs/exfat/dir.c | 4 | ||||
-rw-r--r-- | fs/exfat/exfat_fs.h | 2 |
2 files changed, 2 insertions, 4 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; diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h index 1d6da61157c9..a8f5bc536dcf 100644 --- a/fs/exfat/exfat_fs.h +++ b/fs/exfat/exfat_fs.h @@ -459,8 +459,6 @@ int exfat_find_dir_entry(struct super_block *sb, struct exfat_inode_info *ei, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, int num_entries, unsigned int type, struct exfat_hint *hint_opt); int exfat_alloc_new_dir(struct inode *inode, struct exfat_chain *clu); -int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, - int entry, sector_t *sector, int *offset); struct exfat_dentry *exfat_get_dentry(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct buffer_head **bh, sector_t *sector); |