diff mbox

WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b

Message ID Pine.LNX.4.64.1102080716520.4825@cobra.newdream.net (mailing list archive)
State New, archived
Headers show

Commit Message

Sage Weil Feb. 8, 2011, 3:19 p.m. UTC
None
diff mbox

Patch

diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc
index dc78451..d5530c5 100644
--- a/src/os/FileStore.cc
+++ b/src/os/FileStore.cc
@@ -865,7 +865,7 @@  int FileStore::_detect_fs()
       dout(0) << "mount btrfs SNAP_CREATE_V2 got " << r << " " << strerror_r(-r, buf, sizeof(buf)) << dendl;
       if (r == 0 || errno == EEXIST) {
        dout(0) << "mount btrfs SNAP_CREATE_V2 is supported" << dendl;
-       btrfs_snap_create_v2 = true;
+       //btrfs_snap_create_v2 = true;
       
        // clean up
        r = ::ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &vol_args);