Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f02e6170
Commit
f02e6170
authored
Jul 20, 2003
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
parents
50692f8c
871caaec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
fs/cifs/dir.c
fs/cifs/dir.c
+3
-1
fs/cifs/file.c
fs/cifs/file.c
+0
-3
No files found.
fs/cifs/dir.c
View file @
f02e6170
...
@@ -153,7 +153,9 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
...
@@ -153,7 +153,9 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
}
}
/* BB add processing for setting the equivalent of mode - e.g. via CreateX with ACLs */
/* BB add processing to set equivalent of mode - e.g. via CreateX with ACLs */
if
(
!
oplockEnabled
)
oplock
=
REQ_OPLOCK
;
rc
=
CIFSSMBOpen
(
xid
,
pTcon
,
full_path
,
FILE_OVERWRITE_IF
,
rc
=
CIFSSMBOpen
(
xid
,
pTcon
,
full_path
,
FILE_OVERWRITE_IF
,
desiredAccess
,
CREATE_NOT_DIR
,
desiredAccess
,
CREATE_NOT_DIR
,
...
...
fs/cifs/file.c
View file @
f02e6170
...
@@ -86,9 +86,6 @@ cifs_open(struct inode *inode, struct file *file)
...
@@ -86,9 +86,6 @@ cifs_open(struct inode *inode, struct file *file)
if
(
file
->
f_flags
&
O_CREAT
)
if
(
file
->
f_flags
&
O_CREAT
)
disposition
=
FILE_OVERWRITE
;
disposition
=
FILE_OVERWRITE
;
/* BB first check if file has batch oplock (or oplock ?) */
/* BB finish adding in oplock support BB */
if
(
oplockEnabled
)
if
(
oplockEnabled
)
oplock
=
REQ_OPLOCK
;
oplock
=
REQ_OPLOCK
;
else
else
...
...
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