From: Kylene Jo Hall <kjhall@us.ibm.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: akpm@osdl.org, Serge Hallyn <sergeh@us.ibm.com>,
Dave Safford <safford@us.ibm.com>, Mimi Zohar <zohar@us.ibm.com>
Subject: Re: [PATCH] slim: secfs inode->i_private build fix
Date: Mon, 18 Sep 2006 12:03:59 -0700 [thread overview]
Message-ID: <1158606239.16727.51.camel@localhost.localdomain> (raw)
In-Reply-To: <1158605338.16727.48.camel@localhost.localdomain>
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;
}
prev parent reply other threads:[~2006-09-18 19:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-18 18:48 Kylene Jo Hall
2006-09-18 19:03 ` Kylene Jo Hall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1158606239.16727.51.camel@localhost.localdomain \
--to=kjhall@us.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=safford@us.ibm.com \
--cc=sergeh@us.ibm.com \
--cc=zohar@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®