Messages in this thread Patch in this message | | | Subject | Re: [PATCH] slim: secfs inode->i_private build fix | From | Kylene Jo Hall <> | Date | Mon, 18 Sep 2006 12:03:59 -0700 |
| |
Included the wrong patch the first time. Here is the correct patch.
Due to the change from inode->u.generic_ip to inode->i_private in the mm tree. The slim securityfs file had a compilation error. This minor patch fixes this issue.
Signed-off-by: Mimi Zohar<zohar@us.ibm.com> Signed-off-by: Kylene Hall<kjhall@us.ibm.com> --- security/slim/slm_secfs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.18-rc6-mm2/security/slim/slm_secfs.c 2006-09-15 11:14:07.000000000 -0500 +++ linux-2.6.18-rc6-mm2-slim/security/slim/slm_secfs.c 2006-09-18 11:42:23.000000000 -0500 @@ -45,8 +45,8 @@ static ssize_t slm_read_level(struct fil static int slm_open_debug(struct inode *inode, struct file *file) { - if (inode->u.generic_ip) - file->private_data = inode->u.generic_ip; + if (inode->i_private) + file->private_data = inode->i_private; return 0; }
- 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/
| |