diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2022-03-17 13:12:40 +0300 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-12-12 05:02:49 +0300 |
commit | 3b9681acb0ef739343d8cfd35e054aab9597f1dc (patch) | |
tree | 6e245673917dfc00b498e6d6a15cd65021ba6061 /fs/exfat/namei.c | |
parent | 20914ff6dd56dd6b548bf5dd90bff09ef89999e4 (diff) | |
download | linux-3b9681acb0ef739343d8cfd35e054aab9597f1dc.tar.xz |
exfat: rename exfat_free_dentry_set() to exfat_put_dentry_set()
Since struct exfat_entry_set_cache is allocated from stack,
no need to free, so rename exfat_free_dentry_set() to
exfat_put_dentry_set(). After renaming, the new function pair
is exfat_get_dentry_set()/exfat_put_dentry_set().
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/namei.c')
-rw-r--r-- | fs/exfat/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exfat/namei.c b/fs/exfat/namei.c index 8d72527dfb78..57510d7f58cf 100644 --- a/fs/exfat/namei.c +++ b/fs/exfat/namei.c @@ -676,7 +676,7 @@ static int exfat_find(struct inode *dir, struct qstr *qname, ep->dentry.file.access_time, ep->dentry.file.access_date, 0); - exfat_free_dentry_set(&es, false); + exfat_put_dentry_set(&es, false); if (ei->start_clu == EXFAT_FREE_CLUSTER) { exfat_fs_error(sb, |