projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8e18a
)
ceph: fix list_add in ceph_put_snap_realm
author
Henry C Chang
<henry.cy.chang@gmail.com>
Wed, 11 May 2011 10:29:53 +0000
(10:29 +0000)
committer
Sage Weil
<sage@newdream.net>
Wed, 11 May 2011 17:44:36 +0000
(10:44 -0700)
Signed-off-by: Henry C Chang <henry.cy.chang@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/snap.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/snap.c
b/fs/ceph/snap.c
index e86ec1155f8f401ec2722f6b8ae005f48c6d9a42..24067d68a5549769df4be2c2a2574c36d6dcf702 100644
(file)
--- a/
fs/ceph/snap.c
+++ b/
fs/ceph/snap.c
@@
-206,7
+206,7
@@
void ceph_put_snap_realm(struct ceph_mds_client *mdsc,
up_write(&mdsc->snap_rwsem);
} else {
spin_lock(&mdsc->snap_empty_lock);
- list_add(&
mdsc->snap_empty, &realm->empty_item
);
+ list_add(&
realm->empty_item, &mdsc->snap_empty
);
spin_unlock(&mdsc->snap_empty_lock);
}
}