From: "René Scharfe" <l.s.r@web.de>
To: Steven French <sfrench@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] [CIFS] Fix compile warning for fs/cifs/cifsfs.c
Date: Sun, 22 Jun 2003 11:19:11 +0200 [thread overview]
Message-ID: <20030622111911.33c1d041.l.s.r@web.de> (raw)
Hi,
this patch fixes a compile warning about incompatible types in
fs/cifs/cifsfs.c in cifs_statfs(). This function is called with
a pointer to a struct kstatfs, so let's propagate this type into
the helper function.
René
diff -u ./fs/cifs/cifsproto.h~ ./fs/cifs/cifsproto.h
--- ./fs/cifs/cifsproto.h~ 2003-06-22 10:04:00.000000000 +0200
+++ ./fs/cifs/cifsproto.h 2003-06-22 10:52:06.000000000 +0200
@@ -137,7 +137,7 @@
const char *old_path, const struct nls_table *nls_codepage,
unsigned int *pnum_referrals, unsigned char ** preferrals);
extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
- struct statfs *FSData,
+ struct kstatfs *FSData,
const struct nls_table *nls_codepage);
extern int CIFSSMBQFSAttributeInfo(const int xid,
struct cifsTconInfo *tcon,
diff -u ./fs/cifs/cifssmb.c~ ./fs/cifs/cifssmb.c
--- ./fs/cifs/cifssmb.c~ 2003-06-14 21:18:01.000000000 +0200
+++ ./fs/cifs/cifssmb.c 2003-06-22 10:51:30.000000000 +0200
@@ -1782,7 +1782,7 @@
int
CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
- struct statfs *FSData, const struct nls_table *nls_codepage)
+ struct kstatfs *FSData, const struct nls_table *nls_codepage)
{
/* level 0x103 SMB_QUERY_FILE_SYSTEM_INFO */
TRANSACTION2_QFSI_REQ *pSMB = NULL;
next reply other threads:[~2003-06-22 8:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-22 9:19 René Scharfe [this message]
2003-06-22 9:40 ` Andrew Morton
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=20030622111911.33c1d041.l.s.r@web.de \
--to=l.s.r@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sfrench@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®