Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14550
b: refs/heads/master
c: c119b87
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Nov 18, 2005
1 parent 5b20af7 commit d1da9e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3020a1f58c564e3060ec908c0c4f1b74a12e4280
refs/heads/master: c119b87d596cdd99ac20095ae2ae90b525418605
2 changes: 2 additions & 0 deletions trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,10 @@ int cifs_close(struct inode *inode, struct file *file)
the struct would be in each open file,
but this should give enough time to
clear the socket */
write_unlock(&file->f_owner.lock);
cERROR(1,("close with pending writes"));
msleep(timeout);
write_lock(&file->f_owner.lock);
timeout *= 4;
}
write_unlock(&file->f_owner.lock);
Expand Down
1 change: 1 addition & 0 deletions trunk/fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ static int get_sfu_uid_mode(struct inode * inode,
return (int)rc;
else if (rc > 3) {
mode = le32_to_cpu(*((__le32 *)ea_value));
inode->i_mode &= ~SFBITS_MASK;
cFYI(1,("special bits 0%o org mode 0%o", mode, inode->i_mode));
inode->i_mode = (mode & SFBITS_MASK) | inode->i_mode;
cFYI(1,("special mode bits 0%o", mode));
Expand Down

0 comments on commit d1da9e1

Please sign in to comment.