Btrfs-progs: remove some unused code
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 9 Apr 2013 17:08:43 +0000 (19:08 +0200)
committerDavid Sterba <dsterba@suse.cz>
Tue, 23 Apr 2013 16:56:25 +0000 (18:56 +0200)
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
send-stream.c

index 1a498f3..88e18e2 100644 (file)
@@ -410,9 +410,6 @@ static int read_and_process_cmd(struct btrfs_send_stream *s)
                break;
        case BTRFS_SEND_C_UTIMES:
                TLV_GET_STRING(s, BTRFS_SEND_A_PATH, &path);
-               if (strstr(path, ".bak_1.log")) {
-                       ret = 0;
-               }
                TLV_GET_TIMESPEC(s, BTRFS_SEND_A_ATIME, &at);
                TLV_GET_TIMESPEC(s, BTRFS_SEND_A_MTIME, &mt);
                TLV_GET_TIMESPEC(s, BTRFS_SEND_A_CTIME, &ct);