switch ->mknod() to umode_t
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / bad_inode.c
index 9205cf25f1c6c4ea9b769ab3cd41add695f14ae0..22e9a78872ffec695f8716f0d1158c7e5d394a21 100644 (file)
@@ -173,7 +173,7 @@ static const struct file_operations bad_file_ops =
 };
 
 static int bad_inode_create (struct inode *dir, struct dentry *dentry,
-               int mode, struct nameidata *nd)
+               umode_t mode, struct nameidata *nd)
 {
        return -EIO;
 }
@@ -202,7 +202,7 @@ static int bad_inode_symlink (struct inode *dir, struct dentry *dentry,
 }
 
 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry,
-                       int mode)
+                       umode_t mode)
 {
        return -EIO;
 }
@@ -213,7 +213,7 @@ static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry)
 }
 
 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry,
-                       int mode, dev_t rdev)
+                       umode_t mode, dev_t rdev)
 {
        return -EIO;
 }