diff options
author | Sage Weil <sage@newdream.net> | 2010-04-19 10:15:44 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-03 10:49:23 -0700 |
commit | 91dee39eebcfb47085c4d457a584b0e9723b6ca0 (patch) | |
tree | 52bdeb4795c3b60b1d23460cada8c813c94fb7a9 /fs/exportfs/expfs.c | |
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>
Diffstat (limited to 'fs/exportfs/expfs.c')
0 files changed, 0 insertions, 0 deletions