projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb655d0
)
ceph: fix list_add usage on unsafe_writes list
author
Henry C Chang
<henry_c_chang@tcloudcomputing.com>
Thu, 23 Sep 2010 03:21:17 +0000
(20:21 -0700)
committer
Sage Weil
<sage@newdream.net>
Thu, 7 Oct 2010 15:00:23 +0000
(08:00 -0700)
Fix argument order.
Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/file.c
b/fs/ceph/file.c
index 8c044a4f045751c62420e67664705f981efe238a..66e4da6dba229716ff3349fe87f5dfe62fe62db1 100644
(file)
--- a/
fs/ceph/file.c
+++ b/
fs/ceph/file.c
@@
-697,7
+697,7
@@
more:
* start_request so that a tid has been assigned.
*/
spin_lock(&ci->i_unsafe_lock);
- list_add(&
ci->i_unsafe_writes, &req->r_unsafe_item
);
+ list_add(&
req->r_unsafe_item, &ci->i_unsafe_writes
);
spin_unlock(&ci->i_unsafe_lock);
ceph_get_cap_refs(ci, CEPH_CAP_FILE_WR);
}