Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
76bf69b2
Commit
76bf69b2
authored
Mar 12, 2005
by
Steve French
Committed by
Steve French
Mar 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] remove sparse warning
Signed-off-by: Steve French (sfrench@us.ibm.com)
parent
d64be658
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+0
-8
fs/cifs/cifsproto.h
fs/cifs/cifsproto.h
+6
-0
fs/cifs/cifssmb.c
fs/cifs/cifssmb.c
+1
-1
No files found.
fs/cifs/cifsfs.c
View file @
76bf69b2
...
...
@@ -71,16 +71,8 @@ unsigned int cifs_max_pending = CIFS_MAX_REQ;
module_param
(
cifs_max_pending
,
int
,
0
);
MODULE_PARM_DESC
(
cifs_max_pending
,
"Simultaneous requests to server. Default: 50 Range: 2 to 256"
);
extern
int
cifs_mount
(
struct
super_block
*
,
struct
cifs_sb_info
*
,
char
*
,
const
char
*
);
extern
int
cifs_umount
(
struct
super_block
*
,
struct
cifs_sb_info
*
);
void
cifs_proc_init
(
void
);
void
cifs_proc_clean
(
void
);
static
DECLARE_COMPLETION
(
cifs_oplock_exited
);
static
int
cifs_read_super
(
struct
super_block
*
sb
,
void
*
data
,
const
char
*
devname
,
int
silent
)
...
...
fs/cifs/cifsproto.h
View file @
76bf69b2
...
...
@@ -72,6 +72,12 @@ extern int cifs_get_inode_info_unix(struct inode **pinode,
const
unsigned
char
*
search_path
,
struct
super_block
*
sb
,
int
xid
);
extern
int
cifs_mount
(
struct
super_block
*
,
struct
cifs_sb_info
*
,
char
*
,
const
char
*
);
extern
int
cifs_umount
(
struct
super_block
*
,
struct
cifs_sb_info
*
);
void
cifs_proc_init
(
void
);
void
cifs_proc_clean
(
void
);
extern
int
cifs_setup_session
(
unsigned
int
xid
,
struct
cifsSesInfo
*
pSesInfo
,
struct
nls_table
*
nls_info
);
extern
int
CIFSSMBNegotiate
(
unsigned
int
xid
,
struct
cifsSesInfo
*
ses
);
...
...
fs/cifs/cifssmb.c
View file @
76bf69b2
...
...
@@ -3147,7 +3147,7 @@ CIFSSMBQFSPosixInfo(const int xid, struct cifsTconInfo *tcon,
rc
=
SendReceive
(
xid
,
tcon
->
ses
,
(
struct
smb_hdr
*
)
pSMB
,
(
struct
smb_hdr
*
)
pSMBr
,
&
bytes_returned
,
0
);
if
(
rc
)
{
c
ERROR
(
1
,
(
"Send error in QFSUnixInfo = %d"
,
rc
));
c
FYI
(
1
,
(
"Send error in QFSUnixInfo = %d"
,
rc
));
}
else
{
/* decode response */
rc
=
validate_t2
((
struct
smb_t2_rsp
*
)
pSMBr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment