From: Ondrej Kozina Date: Wed, 13 Mar 2013 17:37:25 +0000 (+0100) Subject: - remove misleading notes about btrfs clone ioctl X-Git-Tag: v0.1.3~18^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=262e4ea591dbef7eb5abb6c9f017626b3d208a9a;p=thirdparty%2Fsnapper.git - remove misleading notes about btrfs clone ioctl --- diff --git a/snapper/File.cc b/snapper/File.cc index b832eb63..5f3a2214 100644 --- a/snapper/File.cc +++ b/snapper/File.cc @@ -622,11 +622,6 @@ namespace snapper * xattributes have to be transfered as well * if we'are about to create new type during * undo! - * - * TODO: for btrfs only: - * - * if we use clone() ioctl for btrfs, we don't need to - * recreate xattributes */ if (getPreToPostStatus() & (XATTRS | TYPE | DELETED)) { diff --git a/testsuite-real/xattrs2.cc b/testsuite-real/xattrs2.cc index 7766b881..bf33d57d 100644 --- a/testsuite-real/xattrs2.cc +++ b/testsuite-real/xattrs2.cc @@ -16,7 +16,6 @@ main() run_command("ln -s first first-link"); - // TODO: test on btrfs! // security namespace is curently supported for dirs and links on ext4 xattr_create("security.aaa", "aaa-value", "/testsuite/first"); xattr_create("security.bbb", "aaa-value", "/testsuite/second"); @@ -42,9 +41,6 @@ main() check_undo_statistics(1, 2, 0); - // NOTE: this test is about to fail on btrfs since the undochange cmd is implemented - // differently on it - // the both XAs, related to 'first' and 'second' have to be recreated on undochange cmd // the deleted file needs to have it's XA recreated as well on undochange check_xa_undo_statistics(3, 0, 0);