diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-05-29 19:20:40 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-31 21:31:53 +0300 |
commit | 2e79d951ffbd57cd7f2d0aae715b9435ba8e7d8a (patch) | |
tree | 1964296344621a65a1fbafa77b2134f00de69301 /fs/f2fs/dir.c | |
parent | fc99fe27b9a2cfb4ae5d869a116a73a17b075abf (diff) | |
download | linux-2e79d951ffbd57cd7f2d0aae715b9435ba8e7d8a.tar.xz |
f2fs: make set_de_type() static
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index e20539ba0554..5b6996129e29 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -60,7 +60,7 @@ static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = { [S_IFLNK >> S_SHIFT] = F2FS_FT_SYMLINK, }; -void set_de_type(struct f2fs_dir_entry *de, umode_t mode) +static void set_de_type(struct f2fs_dir_entry *de, umode_t mode) { de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; } |