[PATCH] More LSM changes for 2.5.49

From: Greg KH (greg@kroah.com)
Date: Wed Nov 27 2002 - 19:26:38 EST


ChangeSet 1.925, 2002/11/27 15:09:52-08:00, greg@kroah.com

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

diff -Nru a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
--- a/fs/hugetlbfs/inode.c Wed Nov 27 15:18:16 2002
+++ b/fs/hugetlbfs/inode.c Wed Nov 27 15:18:16 2002
@@ -209,7 +209,7 @@
         if (inode->i_data.nrpages)
                 truncate_hugepages(&inode->i_data, 0);
 
- security_ops->inode_delete(inode);
+ security_inode_delete(inode);
 
         clear_inode(inode);
         destroy_inode(inode);
@@ -333,7 +333,7 @@
         if (error)
                 goto out;
 
- error = security_ops->inode_setattr(dentry, attr);
+ error = security_inode_setattr(dentry, attr);
         if (error)
                 goto out;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:18 EST