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
f6d8abd9
Commit
f6d8abd9
authored
Jul 13, 2016
by
Konstantin Artyushkin
Committed by
Vitaly Lipatov
Mar 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix duplicate closing parenthesis
parent
3b3c55db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cifsfs.c
sources/centos70/cifsfs.c
+1
-1
No files found.
sources/centos70/cifsfs.c
View file @
f6d8abd9
...
@@ -805,7 +805,7 @@ static int cifs_setlease(struct file *file, long arg, struct file_lock **lease,
...
@@ -805,7 +805,7 @@ static int cifs_setlease(struct file *file, long arg, struct file_lock **lease,
/* check if file is oplocked */
/* check if file is oplocked */
if
(((
arg
==
F_RDLCK
)
&&
CIFS_CACHE_READ
(
CIFS_I
(
inode
)))
||
if
(((
arg
==
F_RDLCK
)
&&
CIFS_CACHE_READ
(
CIFS_I
(
inode
)))
||
((
arg
==
F_WRLCK
)
&&
CIFS_CACHE_WRITE
(
CIFS_I
(
inode
))))
((
arg
==
F_WRLCK
)
&&
CIFS_CACHE_WRITE
(
CIFS_I
(
inode
))))
return
generic_setlease
(
file
,
arg
,
lease
,
priv
)
)
;
return
generic_setlease
(
file
,
arg
,
lease
,
priv
);
else
if
(
tlink_tcon
(
cfile
->
tlink
)
->
local_lease
&&
else
if
(
tlink_tcon
(
cfile
->
tlink
)
->
local_lease
&&
!
CIFS_CACHE_READ
(
CIFS_I
(
inode
)))
!
CIFS_CACHE_READ
(
CIFS_I
(
inode
)))
/*
/*
...
...
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