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
37cdff8f
Commit
37cdff8f
authored
Aug 31, 2011
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change share flags shift to 28 for 2.6.38
parent
24b9ba82
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dir.c
sources/2.6.38/dir.c
+1
-1
file.c
sources/2.6.38/file.c
+1
-1
No files found.
sources/2.6.38/dir.c
View file @
37cdff8f
...
...
@@ -244,7 +244,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
if
(
tcon
->
ses
->
capabilities
&
CAP_NT_SMBS
)
rc
=
CIFSSMBOpen
(
xid
,
tcon
,
full_path
,
disposition
,
desiredAccess
,
((
~
(
oflags
>>
2
1
))
&
7
),
create_options
,
desiredAccess
,
((
~
(
oflags
>>
2
8
))
&
7
),
create_options
,
&
fileHandle
,
&
oplock
,
buf
,
cifs_sb
->
local_nls
,
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_MAP_SPECIAL_CHR
);
else
...
...
sources/2.6.38/file.c
View file @
37cdff8f
...
...
@@ -106,7 +106,7 @@ static inline int cifs_get_disposition(unsigned int flags)
static
inline
int
cifs_get_share_flags
(
unsigned
int
flags
)
{
return
((
~
(
flags
>>
2
1
))
&
7
);
return
((
~
(
flags
>>
2
8
))
&
7
);
}
int
cifs_posix_open
(
char
*
full_path
,
struct
inode
**
pinode
,
...
...
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