]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix inode->frag rstat projected with snaps
authorSage Weil <sage@newdream.net>
Wed, 10 Nov 2010 17:43:56 +0000 (09:43 -0800)
committerSage Weil <sage@newdream.net>
Wed, 10 Nov 2010 17:43:56 +0000 (09:43 -0800)
commit82aa79f8637914e3014a6c9c89516ed6778152eb
treef074b50ba05a825118060094a3c48cabf0ed9f69
parent5deef243962fc8fac919ea655b565e676f385a63
mds: fix inode->frag rstat projected with snaps

The snapid 'first' value needs to be >= inode->first; move that into
the helper.

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