Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mode_t, whack-a-mole at 11...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 0ecc833b aee0c612

+9 -9
+2 -2
drivers/net/wireless/ath/wil6210/debugfs.c
··· 216 216 wil_debugfs_iomem_x32_set, "0x%08llx\n"); 217 217 218 218 static struct dentry *wil_debugfs_create_iomem_x32(const char *name, 219 - mode_t mode, 219 + umode_t mode, 220 220 struct dentry *parent, 221 221 void __iomem *value) 222 222 { ··· 367 367 368 368 static 369 369 struct dentry *wil_debugfs_create_ioblob(const char *name, 370 - mode_t mode, 370 + umode_t mode, 371 371 struct dentry *parent, 372 372 struct debugfs_blob_wrapper *blob) 373 373 {
+1 -1
drivers/staging/dgrp/dgrp_common.h
··· 120 120 struct dgrp_proc_entry { 121 121 int id; /* Integer identifier */ 122 122 const char *name; /* ASCII identifier */ 123 - mode_t mode; /* File access permissions */ 123 + umode_t mode; /* File access permissions */ 124 124 struct dgrp_proc_entry *child; /* Child pointer */ 125 125 126 126 /* file ops to use, pass NULL to use default */
+1 -1
drivers/staging/dgrp/dgrp_specproc.c
··· 228 228 { 229 229 struct proc_dir_entry *de; 230 230 int len; 231 - mode_t mode; 231 + umode_t mode; 232 232 233 233 if (table == NULL) 234 234 return;
+1 -1
fs/f2fs/acl.c
··· 299 299 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); 300 300 struct posix_acl *acl; 301 301 int error; 302 - mode_t mode = get_inode_mode(inode); 302 + umode_t mode = get_inode_mode(inode); 303 303 304 304 if (!test_opt(sbi, POSIX_ACL)) 305 305 return 0;
+1 -1
fs/f2fs/dir.c
··· 60 60 61 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 64 de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; 65 65 } 66 66
+1 -1
fs/proc/self.c
··· 51 51 void __init proc_self_init(void) 52 52 { 53 53 struct proc_dir_entry *proc_self_symlink; 54 - mode_t mode; 54 + umode_t mode; 55 55 56 56 mode = S_IFLNK | S_IRWXUGO; 57 57 proc_self_symlink = proc_create("self", mode, NULL, NULL );
+2 -2
lib/notifier-error-inject.c
··· 17 17 DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set, 18 18 "%lld\n"); 19 19 20 - static struct dentry *debugfs_create_errno(const char *name, mode_t mode, 20 + static struct dentry *debugfs_create_errno(const char *name, umode_t mode, 21 21 struct dentry *parent, int *value) 22 22 { 23 23 return debugfs_create_file(name, mode, parent, value, &fops_errno); ··· 50 50 struct notifier_err_inject *err_inject, int priority) 51 51 { 52 52 struct notifier_err_inject_action *action; 53 - mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; 53 + umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; 54 54 struct dentry *dir; 55 55 struct dentry *actions_dir; 56 56