diff options
author | Henry C Chang <henry_c_chang@tcloudcomputing.com> | 2010-09-23 05:21:17 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-07 17:00:23 +0200 |
commit | 936aeb5c4a9fa799abd7d630a94223acedcaad50 (patch) | |
tree | 377c2b25d450975e928012c8d9b7c12214b62428 /fs | |
parent | Linux 2.6.36-rc7 (diff) | |
download | linux-936aeb5c4a9fa799abd7d630a94223acedcaad50.tar.xz linux-936aeb5c4a9fa799abd7d630a94223acedcaad50.zip |
ceph: fix list_add usage on unsafe_writes list
Fix argument order.
Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ceph/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index 8c044a4f0457..66e4da6dba22 100644 --- 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); } |