diff options
author | Park Ju Hyung <qkrwngud825@gmail.com> | 2019-04-17 18:57:38 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-05-08 21:23:10 -0700 |
commit | 5c533b19ae26e810d07ba3d2216ea704b2127ab2 (patch) | |
tree | d64594768d85ed15b5d2c334b4655e034492088c /fs/f2fs | |
parent | cd23ffa9fcba071c6a6129c46bf41acca77fab4a (diff) | |
download | linux-5c533b19ae26e810d07ba3d2216ea704b2127ab2.tar.bz2 |
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 'fs/f2fs')
-rw-r--r-- | fs/f2fs/namei.c | 2 |
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); |