From beff09ede63f59bd64c81f55cd8f9cd66381b93b Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 24 Sep 2008 19:22:52 +0000 Subject: [PATCH] --- yaml --- r: 111153 b: refs/heads/master c: d388908ec40ada0001dfe05134de31d0cc62907c h: refs/heads/master i: 111151: d17d937137701bafe9f24332754f3b8102bf7412 v: v3 --- [refs] | 2 +- trunk/fs/cifs/inode.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 348e86d8b706..0b946c0c9b10 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 391e575556109744ae0aa198c1e245588a3ea76a +refs/heads/master: d388908ec40ada0001dfe05134de31d0cc62907c diff --git a/trunk/fs/cifs/inode.c b/trunk/fs/cifs/inode.c index 27e97d43c759..db091c516c2a 100644 --- a/trunk/fs/cifs/inode.c +++ b/trunk/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 @@ int cifs_unlink(struct inode *dir, struct dentry *dentry) if (rc == 0) drop_nlink(inode); } + cifsInode->cifsAttrs = dosattr; } out_reval: if (inode) {