switch posix_acl_equiv_mode() to umode_t *
[pandora-kernel.git] / fs / gfs2 / acl.c
index 0ac3c53..34501b6 100644 (file)
@@ -276,7 +276,7 @@ static int gfs2_xattr_system_set(struct dentry *dentry, const char *name,
                goto out_release;
 
        if (type == ACL_TYPE_ACCESS) {
-               mode_t mode = inode->i_mode;
+               umode_t mode = inode->i_mode;
                error = posix_acl_equiv_mode(acl, &mode);
 
                if (error <= 0) {