projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
391e575
)
[CIFS] update DOS attributes in cifsInode if we successfully changed them
author
Steve French
<sfrench@us.ibm.com>
Wed, 24 Sep 2008 19:22:52 +0000
(19:22 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Wed, 24 Sep 2008 19:22:52 +0000
(19:22 +0000)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/inode.c
b/fs/cifs/inode.c
index 27e97d43c75964eb0557c09f6f20dd75f6707eb7..db091c516c2a3a165bded54e1e7664d60d89ed8c 100644
(file)
--- a/
fs/cifs/inode.c
+++ b/
fs/cifs/inode.c
@@
-752,6
+752,9
@@
cifs_set_file_info(struct inode *inode, struct iattr *attrs, int xid,
set_via_filehandle:
rc = CIFSSMBSetFileInfo(xid, pTcon, &info_buf, netfid, netpid);
+ if (!rc)
+ cifsInode->cifsAttrs = dosattr;
+
if (open_file == NULL)
CIFSSMBClose(xid, pTcon, netfid);
else
@@
-902,6
+905,7
@@
psx_del_no_retry:
if (rc == 0)
drop_nlink(inode);
}
+ cifsInode->cifsAttrs = dosattr;
}
out_reval:
if (inode) {
This page took
0.026297 seconds
and
5
git commands to generate.