Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8f18c1316b71df76bb7076c392134864a18636c1 Commit: 8f18c1316b71df76bb7076c392134864a18636c1 Parent: 297647c21f11dc1449f9bdb1601ae43e951bba0b Author: Steve French <[EMAIL PROTECTED]> AuthorDate: Fri Oct 12 18:54:12 2007 +0000 Committer: Steve French <[EMAIL PROTECTED]> CommitDate: Fri Oct 12 18:54:12 2007 +0000
[CIFS] remove compile warnings when debug disabled Signed-off-by: Steve French <[EMAIL PROTECTED]> --- fs/cifs/cifsacl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 43ab26f..6015877 100644 --- a/fs/cifs/cifsacl.c +++ b/fs/cifs/cifsacl.c @@ -131,7 +131,6 @@ int compare_sids(struct cifs_sid *ctsid, struct cifs_sid *cwsid) static void parse_ace(struct cifs_ace *pace, char *end_of_acl) { - int i; int num_subauth; /* validate that we do not go past end of acl */ @@ -145,6 +144,7 @@ static void parse_ace(struct cifs_ace *pace, char *end_of_acl) num_subauth = cpu_to_le32(pace->num_subauth); if (num_subauth) { #ifdef CONFIG_CIFS_DEBUG2 + int i; cFYI(1, ("ACE revision %d num_subauth %d", pace->revision, pace->num_subauth)); for (i = 0; i < num_subauth; ++i) { @@ -255,7 +255,6 @@ static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl) static int parse_sid(struct cifs_sid *psid, char *end_of_acl) { - int i; int num_subauth; /* BB need to add parm so we can store the SID BB */ @@ -269,6 +268,7 @@ static int parse_sid(struct cifs_sid *psid, char *end_of_acl) num_subauth = cpu_to_le32(psid->num_subauth); if (num_subauth) { #ifdef CONFIG_CIFS_DEBUG2 + int i; cFYI(1, ("SID revision %d num_auth %d First subauth 0x%x", psid->revision, psid->num_subauth, psid->sub_auth[0])); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html