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
138ec873
Commit
138ec873
authored
Apr 06, 2009
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile problem in kernel 2.6.29 (RT#9966)
parent
dc96ed70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cifsproto.h
sources/2.6.29/cifsproto.h
+1
-1
file.c
sources/2.6.29/file.c
+3
-3
No files found.
sources/2.6.29/cifsproto.h
View file @
138ec873
...
...
@@ -259,7 +259,7 @@ extern int CIFSSMBUnixQuerySymLink(const int xid,
const
struct
nls_table
*
nls_codepage
);
extern
int
CIFSSMBQueryReparseLinkInfo
(
const
int
xid
,
struct
cifsTconInfo
*
tcon
,
const
unsigned
c
har
*
searchName
,
const
unsigned
c
har
*
searchName
,
char
*
symlinkinfo
,
const
int
buflen
,
__u16
fid
,
const
struct
nls_table
*
nls_codepage
);
...
...
sources/2.6.29/file.c
View file @
138ec873
...
...
@@ -732,12 +732,12 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
if
(
lockType
&
LOCKING_ANDX_SHARED_LOCK
)
{
pfLock
->
fl_type
=
F_WRLCK
;
}
else
{
rc
=
CIFSSMBLock
(
xid
,
pT
con
,
netfid
,
length
,
rc
=
CIFSSMBLock
(
xid
,
t
con
,
netfid
,
length
,
pfLock
->
fl_start
,
0
,
1
,
lockType
|
LOCKING_ANDX_SHARED_LOCK
,
0
/* wait flag */
);
if
(
rc
==
0
)
{
rc
=
CIFSSMBLock
(
xid
,
pT
con
,
netfid
,
rc
=
CIFSSMBLock
(
xid
,
t
con
,
netfid
,
length
,
pfLock
->
fl_start
,
1
,
0
,
lockType
|
LOCKING_ANDX_SHARED_LOCK
,
...
...
@@ -798,7 +798,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
}
else
if
(
numUnlock
)
{
/* For each stored lock that this unlock overlaps
completely, unlock it. */
rc
=
cifs_lock_storage_del_lock
(
xid
,
pT
con
,
fid
->
pid
,
rc
=
cifs_lock_storage_del_lock
(
xid
,
t
con
,
fid
->
pid
,
fid
->
pInode
->
i_ino
,
pfLock
->
fl_start
,
length
,
lockType
);
...
...
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