Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347604
b: refs/heads/master
c: 5e62ad3
h: refs/heads/master
v: v3
  • Loading branch information
Yan, Zheng authored and Alex Elder committed Dec 13, 2012
1 parent edf7461 commit 1945fee
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d2cc4dde9206aa2c7fb237aa689d3277cc070547
refs/heads/master: 5e62ad30157d0da04cf40c6d1a2f4bc840948b9c
2 changes: 1 addition & 1 deletion trunk/fs/ceph/caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -2390,7 +2390,7 @@ static void handle_cap_grant(struct inode *inode, struct ceph_mds_caps *grant,
&atime);

/* max size increase? */
if (max_size != ci->i_max_size) {
if (ci->i_auth_cap == cap && max_size != ci->i_max_size) {
dout("max_size %lld -> %llu\n", ci->i_max_size, max_size);
ci->i_max_size = max_size;
if (max_size >= ci->i_wanted_max_size) {
Expand Down

0 comments on commit 1945fee

Please sign in to comment.