diff options
author | Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp> | 2020-02-17 16:29:41 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-17 18:14:26 +0100 |
commit | 23aa10344c627c8ba969049dc456bcb4021d7ed2 (patch) | |
tree | 6f81423f3a41062bc8596241f1e59910551ad757 /drivers/staging/exfat/exfat.h | |
parent | fa4f4ce50cf2d3897bb677afd751dad7fcb2c81e (diff) | |
download | linux-stable-23aa10344c627c8ba969049dc456bcb4021d7ed2.tar.gz linux-stable-23aa10344c627c8ba969049dc456bcb4021d7ed2.tar.bz2 linux-stable-23aa10344c627c8ba969049dc456bcb4021d7ed2.zip |
staging: exfat: dedicate count_entries() to sub-dir counting.
count_entries() function is only used to count sub-dirs.
Clarify the role and rename to count_dir_entries().
Signed-off-by: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
Link: https://lore.kernel.org/r/20200217072941.34116-2-Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/exfat/exfat.h')
-rw-r--r-- | drivers/staging/exfat/exfat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index ca9d3b5a3076..c4ef6c2de329 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -683,7 +683,7 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb, u32 type, struct dentry_t **file_ep); void release_entry_set(struct entry_set_cache_t *es); -s32 count_entries(struct super_block *sb, struct chain_t *p_dir, u32 type); +s32 count_dir_entries(struct super_block *sb, struct chain_t *p_dir); void update_dir_checksum(struct super_block *sb, struct chain_t *p_dir, s32 entry); void update_dir_checksum_with_entry_set(struct super_block *sb, |