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
57d38b96
Commit
57d38b96
authored
Feb 27, 2015
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3.12 sources from stable (v3.12.38)
parent
404f0e31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
file.c
sources/3.12/file.c
+5
-1
inode.c
sources/3.12/inode.c
+1
-1
No files found.
sources/3.12/file.c
View file @
57d38b96
...
...
@@ -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
);
/*
...
...
sources/3.12/inode.c
View file @
57d38b96
...
...
@@ -874,7 +874,7 @@ inode_has_hashed_dentries(struct inode *inode)
struct
dentry
*
dentry
;
spin_lock
(
&
inode
->
i_lock
);
hlist_for_each_entry
(
dentry
,
&
inode
->
i_dentry
,
d_alias
)
{
hlist_for_each_entry
(
dentry
,
&
inode
->
i_dentry
,
d_
u
.
d_
alias
)
{
if
(
!
d_unhashed
(
dentry
)
||
IS_ROOT
(
dentry
))
{
spin_unlock
(
&
inode
->
i_lock
);
return
true
;
...
...
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