summaryrefslogtreecommitdiffstats
path: root/fs/ext2/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 02:46:18 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:54:58 -0500
commit3ea40bc9471ae5a24b7e07cbf085fcd3c9572c91 (patch)
tree6fa49c8f4996d7a284d375aaef30b4c60ab581e2 /fs/ext2/dir.c
parentc2837de73e8081bd33bc72ad73f49d6bcba9d1b6 (diff)
downloadop-kernel-dev-3ea40bc9471ae5a24b7e07cbf085fcd3c9572c91.zip
op-kernel-dev-3ea40bc9471ae5a24b7e07cbf085fcd3c9572c91.tar.gz
ext2: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/dir.c')
-rw-r--r--fs/ext2/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
index 47cda41..d37df35 100644
--- a/fs/ext2/dir.c
+++ b/fs/ext2/dir.c
@@ -279,7 +279,7 @@ static unsigned char ext2_type_by_mode[S_IFMT >> S_SHIFT] = {
static inline void ext2_set_de_type(ext2_dirent *de, struct inode *inode)
{
- mode_t mode = inode->i_mode;
+ umode_t mode = inode->i_mode;
if (EXT2_HAS_INCOMPAT_FEATURE(inode->i_sb, EXT2_FEATURE_INCOMPAT_FILETYPE))
de->file_type = ext2_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
else
OpenPOWER on IntegriCloud