Commit c3ad4f21 authored by Konstantin Baev's avatar Konstantin Baev

update sources/2.6.23

- source: cifs-2.6.git - refspec: v2.6.23-etercifs - commit: d7577d79c1f393ecbaf057ef575d26331817c9cd Fixed bug Eter#2773
parent f7e4f0e3
...@@ -1503,7 +1503,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) ...@@ -1503,7 +1503,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
rc = SMBLegacyOpen(xid, pTcon, full_path, rc = SMBLegacyOpen(xid, pTcon, full_path,
FILE_OPEN, FILE_OPEN,
SYNCHRONIZE | FILE_WRITE_ATTRIBUTES, FILE_SHARE_ALL, SYNCHRONIZE | FILE_WRITE_ATTRIBUTES,
CREATE_NOT_DIR, &netfid, &oplock, CREATE_NOT_DIR, &netfid, &oplock,
NULL, cifs_sb->local_nls, NULL, cifs_sb->local_nls,
cifs_sb->mnt_cifs_flags & cifs_sb->mnt_cifs_flags &
...@@ -1634,7 +1634,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) ...@@ -1634,7 +1634,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
/* BB we could scan to see if we already have it open /* BB we could scan to see if we already have it open
and pass in pid of opener to function */ and pass in pid of opener to function */
rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_OPEN, rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_OPEN,
SYNCHRONIZE | FILE_WRITE_ATTRIBUTES, SYNCHRONIZE | FILE_WRITE_ATTRIBUTES, FILE_SHARE_ALL,
CREATE_NOT_DIR, &netfid, &oplock, CREATE_NOT_DIR, &netfid, &oplock,
NULL, cifs_sb->local_nls, NULL, cifs_sb->local_nls,
cifs_sb->mnt_cifs_flags & cifs_sb->mnt_cifs_flags &
......
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