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
6a35cb92
Commit
6a35cb92
authored
Jun 21, 2015
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3.13 sources from stable (v3.13.11-ckt21)
parent
ff742b47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
file.c
sources/3.13/file.c
+6
-1
smb2ops.c
sources/3.13/smb2ops.c
+2
-1
No files found.
sources/3.13/file.c
View file @
6a35cb92
...
...
@@ -369,6 +369,7 @@ void cifsFileInfo_put(struct cifsFileInfo *cifs_file)
struct
cifsLockInfo
*
li
,
*
tmp
;
struct
cifs_fid
fid
;
struct
cifs_pending_open
open
;
bool
oplock_break_cancelled
;
spin_lock
(
&
cifs_file_list_lock
);
if
(
--
cifs_file
->
count
>
0
)
{
...
...
@@ -400,7 +401,7 @@ void cifsFileInfo_put(struct cifsFileInfo *cifs_file)
}
spin_unlock
(
&
cifs_file_list_lock
);
cancel_work_sync
(
&
cifs_file
->
oplock_break
);
oplock_break_cancelled
=
cancel_work_sync
(
&
cifs_file
->
oplock_break
);
if
(
!
tcon
->
need_reconnect
&&
!
cifs_file
->
invalidHandle
)
{
struct
TCP_Server_Info
*
server
=
tcon
->
ses
->
server
;
...
...
@@ -412,6 +413,9 @@ void cifsFileInfo_put(struct cifsFileInfo *cifs_file)
_free_xid
(
xid
);
}
if
(
oplock_break_cancelled
)
cifs_done_oplock_break
(
cifsi
);
cifs_del_pending_open
(
&
open
);
/*
...
...
@@ -1825,6 +1829,7 @@ refind_writable:
cifsFileInfo_put
(
inv_file
);
spin_lock
(
&
cifs_file_list_lock
);
++
refind
;
inv_file
=
NULL
;
goto
refind_writable
;
}
}
...
...
sources/3.13/smb2ops.c
View file @
6a35cb92
...
...
@@ -633,7 +633,8 @@ smb2_clone_range(const unsigned int xid,
/* No need to change MaxChunks since already set to 1 */
chunk_sizes_updated
=
true
;
}
}
else
goto
cchunk_out
;
}
cchunk_out:
...
...
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