Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359560
b: refs/heads/master
c: 390306c
h: refs/heads/master
v: v3
  • Loading branch information
Yan, Zheng authored and Alex Elder committed Jan 17, 2013
1 parent e9f7512 commit 7cf383f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 66f58691c5c820283dd7e4d6fe8649033ed43ceb
refs/heads/master: 390306c38dd43908f7f7730229999790a773d1d5
4 changes: 3 additions & 1 deletion trunk/fs/ceph/caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -2429,7 +2429,9 @@ static void handle_cap_grant(struct inode *inode, struct ceph_mds_caps *grant,
dout("mds wanted %s -> %s\n",
ceph_cap_string(le32_to_cpu(grant->wanted)),
ceph_cap_string(wanted));
grant->wanted = cpu_to_le32(wanted);
/* imported cap may not have correct mds_wanted */
if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT)
check_caps = 1;
}

cap->seq = seq;
Expand Down

0 comments on commit 7cf383f

Please sign in to comment.