diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:07:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:05 -0500 |
commit | bef41c267e2b903f411c0f56236027f68553b721 (patch) | |
tree | ebbf53837c19c3dd55081b770f76e9a4aec9b001 /fs/exofs/dir.c | |
parent | c6e49e3f266dbe62773941dca8afa65f53b5415f (diff) |
exofs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exofs/dir.c')
-rw-r--r-- | fs/exofs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c index d0941c6a1f72..80405836ba6e 100644 --- a/fs/exofs/dir.c +++ b/fs/exofs/dir.c | |||
@@ -234,7 +234,7 @@ static unsigned char exofs_type_by_mode[S_IFMT >> S_SHIFT] = { | |||
234 | static inline | 234 | static inline |
235 | void exofs_set_de_type(struct exofs_dir_entry *de, struct inode *inode) | 235 | void exofs_set_de_type(struct exofs_dir_entry *de, struct inode *inode) |
236 | { | 236 | { |
237 | mode_t mode = inode->i_mode; | 237 | umode_t mode = inode->i_mode; |
238 | de->file_type = exofs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; | 238 | de->file_type = exofs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; |
239 | } | 239 | } |
240 | 240 | ||