Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
51226ecc
Commit
51226ecc
authored
Mar 30, 2009
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix near removing oplock part in kernels 27 and 28
parent
8749c706
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
cifsfs.c
sources/2.6.27/cifsfs.c
+0
-3
cifsfs.c
sources/2.6.28/cifsfs.c
+0
-3
No files found.
sources/2.6.27/cifsfs.c
View file @
51226ecc
...
...
@@ -970,9 +970,6 @@ static int cifs_oplock_thread(void *dummyarg)
to server still is disconnected since oplock
already released by the server in that case */
if
(
!
pTcon
->
need_reconnect
)
{
/* PV: disable caching if oplock missed */
CIFS_I
(
inode
)
->
clientCanCacheRead
=
false
;
CIFS_I
(
inode
)
->
clientCanCacheAll
=
false
;
rc
=
CIFSSMBLock
(
0
,
pTcon
,
netfid
,
0
/* len */
,
0
/* offset */
,
0
,
0
,
LOCKING_ANDX_OPLOCK_RELEASE
,
...
...
sources/2.6.28/cifsfs.c
View file @
51226ecc
...
...
@@ -1016,9 +1016,6 @@ static int cifs_oplock_thread(void *dummyarg)
to server still is disconnected since oplock
already released by the server in that case */
if
(
!
pTcon
->
need_reconnect
)
{
+
/* PV: disable caching if oplock missed */
+
CIFS_I
(
inode
)
->
clientCanCacheRead
=
false
;
+
CIFS_I
(
inode
)
->
clientCanCacheAll
=
false
;
rc
=
CIFSSMBLock
(
0
,
pTcon
,
netfid
,
0
/* len */
,
0
/* offset */
,
0
,
0
,
LOCKING_ANDX_OPLOCK_RELEASE
,
...
...
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