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
nexedi
linux
Commits
71f53abb
Commit
71f53abb
authored
Nov 26, 2004
by
Steve French
Committed by
Steve French
Nov 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] cifs readdir changes part 10 remove unneeded debug function
Signed-off- by: Steve French (sfrench@us.ibm.com)
parent
d276f715
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
fs/cifs/cifsglob.h
fs/cifs/cifsglob.h
+1
-0
fs/cifs/cifssmb.c
fs/cifs/cifssmb.c
+5
-2
fs/cifs/dir.c
fs/cifs/dir.c
+0
-3
No files found.
fs/cifs/cifsglob.h
View file @
71f53abb
...
...
@@ -327,6 +327,7 @@ struct oplock_q_entry {
#define MID_REQUEST_SUBMITTED 2
#define MID_RESPONSE_RECEIVED 4
#define MID_RETRY_NEEDED 8
/* session closed while this request out */
#define MID_NO_RESP_NEEDED 0x10
/*
*****************************************************************
...
...
fs/cifs/cifssmb.c
View file @
71f53abb
...
...
@@ -1755,7 +1755,7 @@ CIFSSMBQPathInfo(const int xid, struct cifsTconInfo *tcon,
int
name_len
;
__u16
params
,
byte_count
;
cFYI
(
1
,
(
"In QPathInfo path %s"
,
searchName
));
/* cFYI(1, ("In QPathInfo path %s", searchName)); */
/* BB fixme BB */
QPathInfoRetry:
rc
=
smb_init
(
SMB_COM_TRANSACTION2
,
15
,
tcon
,
(
void
**
)
&
pSMB
,
(
void
**
)
&
pSMBr
);
...
...
@@ -2218,8 +2218,9 @@ CIFSFindFirst2(const int xid, struct cifsTconInfo *tcon,
psrch_inf
->
endOfSearch
=
FALSE
;
psrch_inf
->
entries_in_buffer
=
le16_to_cpu
(
parms
->
SearchCount
);
psrch_inf
->
index_of_last_entry
+
=
psrch_inf
->
index_of_last_entry
=
psrch_inf
->
entries_in_buffer
;
/*cFYI(1,("entries in buf %d index_of_last %d",psrch_inf->entries_in_buffer,psrch_inf->index_of_last_entry)); */
*
pnetfid
=
parms
->
SearchHandle
;
}
else
{
if
(
pSMB
)
...
...
@@ -2325,6 +2326,8 @@ int CIFSFindNext2(const int xid, struct cifsTconInfo *tcon,
psrch_inf
->
entries_in_buffer
=
le16_to_cpu
(
parms
->
SearchCount
);
psrch_inf
->
index_of_last_entry
+=
psrch_inf
->
entries_in_buffer
;
/* cFYI(1,("fnxt2 entries in buf %d index_of_last %d",psrch_inf->entries_in_buffer,psrch_inf->index_of_last_entry)); */
/* BB fixme add unlock here */
}
...
...
fs/cifs/dir.c
View file @
71f53abb
...
...
@@ -399,9 +399,6 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, struct name
(
" parent inode = 0x%p name is: %s and dentry = 0x%p"
,
parent_dir_inode
,
direntry
->
d_name
.
name
,
direntry
));
if
(
nd
)
{
/* BB removeme */
cFYI
(
1
,(
"In lookup nd flags 0x%x open intent flags 0x%x"
,
nd
->
flags
,
nd
->
intent
.
open
.
flags
));
}
/* BB removeme BB */
/* BB Add check of incoming data - e.g. frame not longer than maximum SMB - let server check the namelen BB */
/* check whether path exists */
...
...
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