linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH] f2fs: Make f2fs_fname_setup_ci_filename static
@ 2019-08-31  1:46 zhengbin
  2019-08-31  2:30 ` Chao Yu
  0 siblings, 1 reply; 4+ messages in thread
From: zhengbin @ 2019-08-31  1:46 UTC (permalink / raw)
  To: jaegeuk, chao, linux-f2fs-devel; +Cc: zhengbin13

Fix sparse warning:

fs/f2fs/dir.c:142:6: warning: symbol 'f2fs_fname_setup_ci_filename' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 fs/f2fs/dir.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c
index 9de688a..147fa5a 100644
--- a/fs/f2fs/dir.c
+++ b/fs/f2fs/dir.c
@@ -139,9 +139,9 @@ int f2fs_ci_compare(const struct inode *parent, const struct qstr *name,
 	return ret;
 }

-void f2fs_fname_setup_ci_filename(struct inode *dir,
-					const struct qstr *iname,
-					struct fscrypt_str *cf_name)
+static void f2fs_fname_setup_ci_filename(struct inode *dir,
+					       const struct qstr *iname,
+					       struct fscrypt_str *cf_name)
 {
 	struct f2fs_sb_info *sbi = F2FS_I_SB(dir);

--
2.7.4



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-01  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31  1:46 [f2fs-dev] [PATCH] f2fs: Make f2fs_fname_setup_ci_filename static zhengbin
2019-08-31  2:30 ` Chao Yu
2019-08-31  2:33   ` zhengbin (A)
2019-09-01  7:27     ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).