Hi everyone. I was trying to test a more recent version of btrfs on my current kernel (2.6.37) using dkms, without success. I followed these instructions: https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories - cloned the repo - symlinked to /usr/src/btrfs-git - patched version.sh: Please note version.sh requires bash (better to change the shebang or fix the script). Even with the patch, version.sh run on a shallow repository generates a "-dirty" version. I assume this is OK, even though there are no local changes. - run version.sh - dkms add -m btrfs -v git - dkms build -m btrfs -v git fails with: /var/lib/dkms/btrfs/git/build/extent-tree.c: In function âbtrfs_issue_discardâ: /var/lib/dkms/btrfs/git/build/extent-tree.c:1747: error: âBLKDEV_IFL_WAITâ undeclared (first use in this function) /var/lib/dkms/btrfs/git/build/extent-tree.c:1747: error: (Each undeclared identifier is reported only once /var/lib/dkms/btrfs/git/build/extent-tree.c:1747: error: for each function it appears in.) /var/lib/dkms/btrfs/git/build/extent-tree.c:1747: error: âBLKDEV_IFL_BARRIERâ undeclared (first use in this function) I assume BLKDEV_IFL_WAIT/BARRIER was added in later kernels? Is there a way to make it build btrfs for 2.6.37? Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
