summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 09:07:14 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:04 +0100
commitc6e49e3f266dbe62773941dca8afa65f53b5415f (patch)
treed16592189d8ea9fafb15d5dcbfc1a18d3bbf8d97 /fs/nilfs2/dir.c
parentsunrpc: propagate umode_t (diff)
downloadlinux-c6e49e3f266dbe62773941dca8afa65f53b5415f.tar.xz
linux-c6e49e3f266dbe62773941dca8afa65f53b5415f.zip
nilfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nilfs2/dir.c')
-rw-r--r--fs/nilfs2/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/dir.c b/fs/nilfs2/dir.c
index 3a1923943b14..ca35b3a46d17 100644
--- a/fs/nilfs2/dir.c
+++ b/fs/nilfs2/dir.c
@@ -251,7 +251,7 @@ nilfs_type_by_mode[S_IFMT >> S_SHIFT] = {
static void nilfs_set_de_type(struct nilfs_dir_entry *de, struct inode *inode)
{
- mode_t mode = inode->i_mode;
+ umode_t mode = inode->i_mode;
de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
}