]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix client view of dir layout when layout is removed
authorSage Weil <sage@inktank.com>
Sat, 19 Jan 2013 18:04:05 +0000 (10:04 -0800)
committerSage Weil <sage@inktank.com>
Wed, 30 Jan 2013 00:25:05 +0000 (16:25 -0800)
commit09f28541e374ffac198e4d48082b064aae93cb2c
tree3afdd0004db509c636c9f8a326587d42f5918fac
parent84751489ca208964e617516e04556722008ddf67
mds: fix client view of dir layout when layout is removed

We weren't handling the case where the projected node has NULL for the
layout properly.  Fixes the client's view when we remove the dir layout.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mds/CInode.cc
src/mds/CInode.h