commit | 91dee39eebcfb47085c4d457a584b0e9723b6ca0 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Apr 19 10:15:44 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon May 03 10:49:23 2010 -0700 |
tree | 52bdeb4795c3b60b1d23460cada8c813c94fb7a9 | |
parent | c10f5e12bafde7f7a2f9b75d76f7a68d62154e91 [diff] |
ceph: fix snap realm splits The snap realm split was checking i_snap_realm, not the list_head, to determine if an inode belonged in the new realm. The check always failed, which meant we always moved the inode, corrupting the old realm's list and causing various crashes. Also wait to release old realm reference to avoid possibility of use after free. Signed-off-by: Sage Weil <sage@newdream.net>