Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373456
b: refs/heads/master
c: 7d7d51c
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed May 2, 2013
1 parent f9e04ed commit cd01153
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 0b93267252ef5fe6c6d77e3013ed6a0d766352ad
refs/heads/master: 7d7d51ce14fde491a6d0677d9bded9b3bd0d21d9
6 changes: 0 additions & 6 deletions trunk/fs/ceph/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,12 +595,6 @@ static ssize_t ceph_sync_write(struct file *file, const char __user *data,
}

ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
if (ret < 0 && req->r_safe_callback) {
spin_lock(&ci->i_unsafe_lock);
list_del_init(&req->r_unsafe_item);
spin_unlock(&ci->i_unsafe_lock);
ceph_put_cap_refs(ci, CEPH_CAP_FILE_WR);
}
}

if (file->f_flags & O_DIRECT)
Expand Down

0 comments on commit cd01153

Please sign in to comment.