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
24b9ba82
Commit
24b9ba82
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.37
parent
5d687c02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dir.c
sources/2.6.37/dir.c
+1
-1
file.c
sources/2.6.37/file.c
+1
-1
No files found.
sources/2.6.37/dir.c
View file @
24b9ba82
...
...
@@ -255,7 +255,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.37/file.c
View file @
24b9ba82
...
...
@@ -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
);
}
static
inline
int
cifs_open_inode_helper
(
struct
inode
*
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