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

switch devtmpfs to umode_t

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

Al Viro fbd48a69 f4ae40a6

+3 -3
+3 -3
drivers/base/devtmpfs.c
··· 142 142 return req.err; 143 143 } 144 144 145 - static int dev_mkdir(const char *name, mode_t mode) 145 + static int dev_mkdir(const char *name, umode_t mode) 146 146 { 147 147 struct dentry *dentry; 148 148 struct path path; ··· 189 189 return err; 190 190 } 191 191 192 - static int handle_create(const char *nodename, mode_t mode, struct device *dev) 192 + static int handle_create(const char *nodename, umode_t mode, struct device *dev) 193 193 { 194 194 struct dentry *dentry; 195 195 struct path path; ··· 378 378 379 379 static DECLARE_COMPLETION(setup_done); 380 380 381 - static int handle(const char *name, mode_t mode, struct device *dev) 381 + static int handle(const char *name, umode_t mode, struct device *dev) 382 382 { 383 383 if (mode) 384 384 return handle_create(name, mode, dev);