Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336137
b: refs/heads/master
c: c772aa9
h: refs/heads/master
i:
  336135: 99a0765
v: v3
  • Loading branch information
Pavel Shilovsky authored and Steve French committed Nov 28, 2012
1 parent 0e20d61 commit c8b0508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a98b8614312026d489e56c1d0e294a68e2aad77
refs/heads/master: c772aa92b6deb2857d4b39a5cc3bd3679cc5f4a6
3 changes: 1 addition & 2 deletions trunk/fs/cifs/smb1ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,6 @@ smb_set_file_info(struct inode *inode, const char *full_path,
struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb);
struct tcon_link *tlink = NULL;
struct cifs_tcon *tcon;
FILE_BASIC_INFO info_buf;

/* if the file is already open for write, just use that fileid */
open_file = find_writable_file(cinode, true);
Expand Down Expand Up @@ -817,7 +816,7 @@ smb_set_file_info(struct inode *inode, const char *full_path,
netpid = current->tgid;

set_via_filehandle:
rc = CIFSSMBSetFileInfo(xid, tcon, &info_buf, netfid, netpid);
rc = CIFSSMBSetFileInfo(xid, tcon, buf, netfid, netpid);
if (!rc)
cinode->cifsAttrs = le32_to_cpu(buf->Attributes);

Expand Down

0 comments on commit c8b0508

Please sign in to comment.