[PATCH] More LSM changes for 2.5.49

From: Greg KH (gregat_private)
Date: Wed Nov 27 2002 - 16:26:38 PST

  • Next message: Greg KH: "Re: [PATCH] More LSM changes for 2.5.49"

    ChangeSet 1.925, 2002/11/27 15:09:52-08:00, gregat_private
    
    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;
     
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Sat Nov 30 2002 - 10:41:48 PST