Commit 2e1dab7d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

LSM: fix conversions in hugetlbfs that I missed in the last merge.

parent 828bb5f4
...@@ -209,7 +209,7 @@ static void hugetlbfs_delete_inode(struct inode *inode) ...@@ -209,7 +209,7 @@ static void hugetlbfs_delete_inode(struct inode *inode)
if (inode->i_data.nrpages) if (inode->i_data.nrpages)
truncate_hugepages(&inode->i_data, 0); truncate_hugepages(&inode->i_data, 0);
security_ops->inode_delete(inode); security_inode_delete(inode);
clear_inode(inode); clear_inode(inode);
destroy_inode(inode); destroy_inode(inode);
...@@ -333,7 +333,7 @@ static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr) ...@@ -333,7 +333,7 @@ static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr)
if (error) if (error)
goto out; goto out;
error = security_ops->inode_setattr(dentry, attr); error = security_inode_setattr(dentry, attr);
if (error) if (error)
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment