summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/namei.c
diff options
context:
space:
mode:
authorPark Ju Hyung <qkrwngud825@gmail.com>2019-04-17 11:57:38 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2019-05-09 06:23:10 +0200
commit5c533b19ae26e810d07ba3d2216ea704b2127ab2 (patch)
treed64594768d85ed15b5d2c334b4655e034492088c /fs/f2fs/namei.c
parentf2fs: fix to set FI_UPDATE_WRITE correctly (diff)
downloadlinux-5c533b19ae26e810d07ba3d2216ea704b2127ab2.tar.xz
linux-5c533b19ae26e810d07ba3d2216ea704b2127ab2.zip
f2fs: mark is_extension_exist() inline
The caller set_file_temperature() is marked as inline as well. It doesn't make much sense to leave is_extension_exist() un-inlined. Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index f5e34e467003..2fdcbe923a32 100644
--- a/fs/f2fs/namei.c
+++ b/fs/f2fs/namei.c
@@ -143,7 +143,7 @@ fail_drop:
return ERR_PTR(err);
}
-static int is_extension_exist(const unsigned char *s, const char *sub)
+static inline int is_extension_exist(const unsigned char *s, const char *sub)
{
size_t slen = strlen(s);
size_t sublen = strlen(sub);