switch ->create() to umode_t
[deliverable/linux.git] / fs / jfs / namei.c
index a112ad96e4749cd7641f4830549ac65cf7da92f7..6c0b1ab8107d15fdbbaf40151be774e76ccb3731 100644 (file)
@@ -72,7 +72,7 @@ static inline void free_ea_wmap(struct inode *inode)
  * RETURN:     Errors from subroutines
  *
  */
-static int jfs_create(struct inode *dip, struct dentry *dentry, int mode,
+static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode,
                struct nameidata *nd)
 {
        int rc = 0;
@@ -205,7 +205,7 @@ static int jfs_create(struct inode *dip, struct dentry *dentry, int mode,
  * note:
  * EACCESS: user needs search+write permission on the parent directory
  */
-static int jfs_mkdir(struct inode *dip, struct dentry *dentry, int mode)
+static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode)
 {
        int rc = 0;
        tid_t tid;              /* transaction id */
This page took 0.025489 seconds and 5 git commands to generate.