Fix compile warning for fs/cifs/cifsfs.c
PATCH 1/1 Fix compile warning for fs/cifs/cifsfs.c
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é
fs/cifs/cifsproto.h renamed from fs/cifs/cifsproto.h~ +1 -1
@@ -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,
fs/cifs/cifssmb.c renamed from fs/cifs/cifssmb.c~ +1 -1
@@ -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 ;
Quoted 3 lines · René Scharfe
this patch fixes a compile warning about incompatible types in
fs/cifs/cifsfs.cincifs_statfs().
oop, sorry. I'll send that in, thanks.