diff options
author | Sage Weil <sage@newdream.net> | 2010-03-09 15:52:26 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-03-21 00:33:07 -0400 |
commit | 052bb34af3bf8ae2001b9f03d884ba0def3e427c (patch) | |
tree | db8aecde5b43263d9f3a2947663cb55de4414545 /fs/ceph/inode.c | |
parent | 978097c907b58a2d085bbf7632bee1a5a7e6f6ba (diff) |
ceph: add missing locking to protect i_snap_realm_item during split
All ci->i_snap_realm_item/realm->inodes_with_caps manipulation should be
protected by realm->inodes_with_caps_lock. This bug would have only bit
us in a rare race with a realm split (during some snap creations).
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions