Pārlūkot izejas kodu

switch inode_init_owner() to umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 14 gadi atpakaļ
vecāks
revīzija
62bb109170
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      fs/inode.c
  2. 1 1
      include/linux/fs.h

+ 1 - 1
fs/inode.c

@@ -1646,7 +1646,7 @@ EXPORT_SYMBOL(init_special_inode);
  * @mode: mode of the new inode
  */
 void inode_init_owner(struct inode *inode, const struct inode *dir,
-			mode_t mode)
+			umode_t mode)
 {
 	inode->i_uid = current_fsuid();
 	if (dir && dir->i_mode & S_ISGID) {

+ 1 - 1
include/linux/fs.h

@@ -1534,7 +1534,7 @@ extern void dentry_unhash(struct dentry *dentry);
  * VFS file helper functions.
  */
 extern void inode_init_owner(struct inode *inode, const struct inode *dir,
-			mode_t mode);
+			umode_t mode);
 /*
  * VFS FS_IOC_FIEMAP helper definitions.
  */