diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-29 12:23:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:13:05 -0400 |
commit | 0ecc833bac594099505a090cbca6ccd5b83d5975 (patch) | |
tree | 399f524f078636335aeb465f805eff6ed27137b1 /fs | |
parent | aee0c612b12f57f4923f6649fa6fcba618182261 (diff) |
mode_t, whack-a-mole at 11...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/acl.c | 2 | ||||
-rw-r--r-- | fs/f2fs/dir.c | 2 | ||||
-rw-r--r-- | fs/proc/self.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c index 137af4255da6..44abc2f286e0 100644 --- a/fs/f2fs/acl.c +++ b/fs/f2fs/acl.c | |||
@@ -299,7 +299,7 @@ int f2fs_acl_chmod(struct inode *inode) | |||
299 | struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); | 299 | struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); |
300 | struct posix_acl *acl; | 300 | struct posix_acl *acl; |
301 | int error; | 301 | int error; |
302 | mode_t mode = get_inode_mode(inode); | 302 | umode_t mode = get_inode_mode(inode); |
303 | 303 | ||
304 | if (!test_opt(sbi, POSIX_ACL)) | 304 | if (!test_opt(sbi, POSIX_ACL)) |
305 | return 0; | 305 | return 0; |
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] = { | |||
60 | 60 | ||
61 | static void set_de_type(struct f2fs_dir_entry *de, struct inode *inode) | 61 | static void set_de_type(struct f2fs_dir_entry *de, struct inode *inode) |
62 | { | 62 | { |
63 | mode_t mode = inode->i_mode; | 63 | umode_t mode = inode->i_mode; |
64 | de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; | 64 | de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; |
65 | } | 65 | } |
66 | 66 | ||
diff --git a/fs/proc/self.c b/fs/proc/self.c index aa5cc3bff140..d8a025296613 100644 --- a/fs/proc/self.c +++ b/fs/proc/self.c | |||
@@ -51,7 +51,7 @@ static const struct inode_operations proc_self_inode_operations = { | |||
51 | void __init proc_self_init(void) | 51 | void __init proc_self_init(void) |
52 | { | 52 | { |
53 | struct proc_dir_entry *proc_self_symlink; | 53 | struct proc_dir_entry *proc_self_symlink; |
54 | mode_t mode; | 54 | umode_t mode; |
55 | 55 | ||
56 | mode = S_IFLNK | S_IRWXUGO; | 56 | mode = S_IFLNK | S_IRWXUGO; |
57 | proc_self_symlink = proc_create("self", mode, NULL, NULL ); | 57 | proc_self_symlink = proc_create("self", mode, NULL, NULL ); |