]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
filestore: fix initial btrfs snap creation (on mkfs)
authorSage Weil <sage@inktank.com>
Thu, 24 May 2012 21:05:09 +0000 (14:05 -0700)
committerSage Weil <sage@inktank.com>
Thu, 24 May 2012 21:05:09 +0000 (14:05 -0700)
commit0f38d756ab83cde625fcfb827eaa87dc8ba01976
treea6aee053eb79973b20beebc137d2c17ae5cd996b
parent3ae84eec2dbcb83a31924cc348e9b91157ecb3b1
filestore: fix initial btrfs snap creation (on mkfs)

Create the snap_1 snap of current *after* we write the op_seq.  Otherwise
we will mistakingly believe the snapshot is of op seq 0.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/FileStore.cc