Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201720
b: refs/heads/master
c: 0ccd480
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Aug 2, 2010
1 parent 1bd76c2 commit 5715082
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d0e6f44e6cc3c7059e8717c452f0999aba507a38
refs/heads/master: 0ccd48025fe64cf01782ba3c7037654d25bd1950
4 changes: 4 additions & 0 deletions trunk/fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,10 @@ cifs_iget(struct super_block *sb, struct cifs_fattr *fattr)
inode->i_flags |= S_NOATIME | S_NOCMTIME;
if (inode->i_state & I_NEW) {
inode->i_ino = hash;
#ifdef CONFIG_CIFS_FSCACHE
/* initialize per-inode cache cookie pointer */
CIFS_I(inode)->fscache = NULL;
#endif
unlock_new_inode(inode);
}
}
Expand Down Expand Up @@ -810,8 +812,10 @@ struct inode *cifs_root_iget(struct super_block *sb, unsigned long ino)
if (!inode)
return ERR_PTR(-ENOMEM);

#ifdef CONFIG_CIFS_FSCACHE
/* populate tcon->resource_id */
cifs_sb->tcon->resource_id = CIFS_I(inode)->uniqueid;
#endif

if (rc && cifs_sb->tcon->ipc) {
cFYI(1, "ipc connection - fake read inode");
Expand Down

0 comments on commit 5715082

Please sign in to comment.