]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: pin inode while one renamed_files list
authorSage Weil <sage@newdream.net>
Thu, 2 Jun 2011 20:14:48 +0000 (13:14 -0700)
committerSage Weil <sage@newdream.net>
Thu, 2 Jun 2011 20:16:31 +0000 (13:16 -0700)
commit4cf342a13a82d3812149b737b89d276dbae02a3d
treea92b603c5ebcc1b6b43ccded226f90cfff5b64b5
parent7e2e4779e4323429167af36e9a5fb9741c075e96
mds: pin inode while one renamed_files list

Make sure the inode is pinned while it is on the LogSegment::renamed_files
list.  Avoids a crash when an inode on that list is wrongly trimmed.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/CDir.cc
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Server.cc