Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73509
b: refs/heads/master
c: a6f8de3
h: refs/heads/master
i:
  73507: 15bf03d
v: v3
  • Loading branch information
Steve French committed Nov 8, 2007
1 parent 6ef986e commit 5c194b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: ce06c9f025120dbb2978d9b84641d76c25f17902
refs/heads/master: a6f8de3d9b124c95893054fd2a78bc7be5bb9000
8 changes: 7 additions & 1 deletion trunk/fs/cifs/readdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,13 @@ static void fill_in_inode(struct inode *tmp_inode, int new_buf_type,
/* Linux can not store file creation time unfortunately so ignore it */

cifsInfo->cifsAttrs = attr;
cifsInfo->time = jiffies;
#ifdef CONFIG_CIFS_EXPERIMENTAL
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) {
/* get more accurate mode via ACL - so force inode refresh */
cifsInfo->time = 0;
} else
#endif /* CONFIG_CIFS_EXPERIMENTAL */
cifsInfo->time = jiffies;

/* treat dos attribute of read-only as read-only mode bit e.g. 555? */
/* 2767 perms - indicate mandatory locking */
Expand Down

0 comments on commit 5c194b1

Please sign in to comment.