]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- remove misleading notes about btrfs clone ioctl
authorOndrej Kozina <okozina@redhat.com>
Wed, 13 Mar 2013 17:37:25 +0000 (18:37 +0100)
committerOndrej Kozina <okozina@redhat.com>
Wed, 13 Mar 2013 17:37:25 +0000 (18:37 +0100)
snapper/File.cc
testsuite-real/xattrs2.cc

index b832eb63c81216a2e90b647926a2c29e8478dc62..5f3a2214cfcf6de89591f24c705497700a68214b 100644 (file)
@@ -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))
         {
index 7766b88161619126454a496a412dfaf4eea3e44e..bf33d57dd5a22e965cf140ea228257a629b2bd88 100644 (file)
@@ -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);