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
f9c19a57
Commit
f9c19a57
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.34
parent
1386235a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dir.c
sources/2.6.34/dir.c
+1
-1
file.c
sources/2.6.34/file.c
+1
-1
No files found.
sources/2.6.34/dir.c
View file @
f9c19a57
...
...
@@ -384,7 +384,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
if
(
cifs_sb
->
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.34/file.c
View file @
f9c19a57
...
...
@@ -107,7 +107,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
);
}
/* all arguments to this function must be checked for validity in caller */
...
...
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