summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/dir.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-05-29 18:20:40 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-31 20:31:53 +0200
commit2e79d951ffbd57cd7f2d0aae715b9435ba8e7d8a (patch)
tree1964296344621a65a1fbafa77b2134f00de69301 /fs/f2fs/dir.c
parentf2fs: make __f2fs_write_data_pages() static (diff)
downloadlinux-2e79d951ffbd57cd7f2d0aae715b9435ba8e7d8a.tar.xz
linux-2e79d951ffbd57cd7f2d0aae715b9435ba8e7d8a.zip
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.c2
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];
}