Commit f02e6170 authored by Steve French's avatar Steve French

Merge bk://linux.bkbits.net/linux-2.5

into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
parents 50692f8c 871caaec
...@@ -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,
......
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment