mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ceph: fix list_add in ceph_put_snap_realm
Signed-off-by: Henry C Chang <[email protected]> Signed-off-by: Sage Weil <[email protected]>
This commit is contained in:
parent
7d8e18a69d
commit
a26a185d27
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue