summaryrefslogtreecommitdiff
path: root/fs/f2fs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-29 20:23:28 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 22:13:05 +0400
commit0ecc833bac594099505a090cbca6ccd5b83d5975 (patch)
tree399f524f078636335aeb465f805eff6ed27137b1 /fs/f2fs/dir.c
parentaee0c612b12f57f4923f6649fa6fcba618182261 (diff)
downloadlinux-0ecc833bac594099505a090cbca6ccd5b83d5975.tar.xz
mode_t, whack-a-mole at 11...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 a1f38443ecee..1be948768e2f 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] = {
static void set_de_type(struct f2fs_dir_entry *de, struct inode *inode)
{
- mode_t mode = inode->i_mode;
+ umode_t mode = inode->i_mode;
de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT];
}