]> Git Repo - J-linux.git/blobdiff - fs/bad_inode.c
HID: hid-sensor-custom: Fix big on-stack allocation in hid_sensor_custom_get_known()
[J-linux.git] / fs / bad_inode.c
index 9d1cde8066cf8bb87b276ac05220357ae26cd78b..92737166203f3e1208b79172774fb86eec5ef80b 100644 (file)
@@ -154,7 +154,7 @@ static int bad_inode_tmpfile(struct user_namespace *mnt_userns,
 }
 
 static int bad_inode_set_acl(struct user_namespace *mnt_userns,
-                            struct inode *inode, struct posix_acl *acl,
+                            struct dentry *dentry, struct posix_acl *acl,
                             int type)
 {
        return -EIO;
@@ -177,7 +177,7 @@ static const struct inode_operations bad_inode_ops =
        .setattr        = bad_inode_setattr,
        .listxattr      = bad_inode_listxattr,
        .get_link       = bad_inode_get_link,
-       .get_acl        = bad_inode_get_acl,
+       .get_inode_acl  = bad_inode_get_acl,
        .fiemap         = bad_inode_fiemap,
        .update_time    = bad_inode_update_time,
        .atomic_open    = bad_inode_atomic_open,
This page took 0.026853 seconds and 4 git commands to generate.