diff options
author | Sage Weil <sage@newdream.net> | 2010-04-19 19:15:44 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-03 19:49:23 +0200 |
commit | 91dee39eebcfb47085c4d457a584b0e9723b6ca0 (patch) | |
tree | 52bdeb4795c3b60b1d23460cada8c813c94fb7a9 /net/x25 | |
parent | ceph: clear dir complete on d_move (diff) | |
download | linux-91dee39eebcfb47085c4d457a584b0e9723b6ca0.tar.xz linux-91dee39eebcfb47085c4d457a584b0e9723b6ca0.zip |
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>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions