Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198067
b: refs/heads/master
c: e8a7498
h: refs/heads/master
i:
  198065: 723cc39
  198063: 7d8c00b
v: v3
  • Loading branch information
Sage Weil committed May 17, 2010
1 parent 4881220 commit e2b484d
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: f1f2765faedc24f8f2e9fd68521a5ea469801b60
refs/heads/master: e8a7498715181ece36130335536e13733a5c3187
4 changes: 4 additions & 0 deletions trunk/fs/ceph/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,10 @@ static void ceph_set_dentry_offset(struct dentry *dn)
di = ceph_dentry(dn);

spin_lock(&inode->i_lock);
if ((ceph_inode(inode)->i_ceph_flags & CEPH_I_COMPLETE) == 0) {
spin_unlock(&inode->i_lock);
return;
}
di->offset = ceph_inode(inode)->i_max_offset++;
spin_unlock(&inode->i_lock);

Expand Down

0 comments on commit e2b484d

Please sign in to comment.