Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69251
b: refs/heads/master
c: 68e8a70
h: refs/heads/master
i:
  69249: a5bc120
  69247: 3b9923c
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Oct 9, 2007
1 parent 6d7b3ee commit c0c61c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f2115dc9877d480392e48e3c83bc8cbb4b418fee
refs/heads/master: 68e8a70d3cae23716f6b2b3872eba10eccea148c
6 changes: 3 additions & 3 deletions trunk/fs/nfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,14 +915,14 @@ int nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr)
struct nfs_inode *nfsi = NFS_I(inode);
int status = 0;

spin_lock(&inode->i_lock);
if (unlikely((fattr->valid & NFS_ATTR_FATTR) == 0)) {
spin_lock(&inode->i_lock);
nfsi->cache_validity |= NFS_INO_INVALID_ACCESS|NFS_INO_INVALID_ATTR|NFS_INO_REVAL_PAGECACHE;
spin_unlock(&inode->i_lock);
goto out;
}
status = nfs_update_inode(inode, fattr);
status = nfs_refresh_inode(inode, fattr);
out:
spin_unlock(&inode->i_lock);
return status;
}

Expand Down

0 comments on commit c0c61c8

Please sign in to comment.