Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4634002ybi; Tue, 11 Jun 2019 09:48:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt5eIw/5Oa911W/AoTM+H3//EMhyzKSWvU3fkKKPmbZBRLuiJyNN7XfRJiIU1/svR/CqVL X-Received: by 2002:a17:90a:62cb:: with SMTP id k11mr26712908pjs.26.1560271684424; Tue, 11 Jun 2019 09:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560271684; cv=none; d=google.com; s=arc-20160816; b=X4GRvWcx/MmR+9kc/vxLLeW0Np73PL9LdhN8ZjkpSdJZS4phprpMh7C9e2gky1TSMZ psAwRJMjPmC5dGzJ9O0o4vlbrIfFwSXwBGCZjuKx2Q0VjRrpGmHoWjLtwpg2egMN+/si TB9YPjz3mkb2SBC/haC3vJHdEDDklANL53kF1IKYcoSfxJMBB0ycZN2NLseRTgoa8T4r hbmY0jg3gD3gfT7hqom1hbMuQbgVQ6+xD8zbiJCODNe2Bx3cbtESqGLBlb/f/AI70dPE 7zTBAftWer42Q9cQQbuh2T0l1ekDWmB1VqMyI3O3sHwYV1uMY5MI0kQWejkLQLK43/gE S/nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=0ERsPIkq4z4pH4hCYVF/nwe5zvbearOf22rEw6hOpzs=; b=XVXIHZgxUU6J82G1bcYP7JQR42lK7CprPJCUbFpd6KakdKHuW78Xlm/XREhNSmlvdV Jmh7qebg3wZkWqc8r9Tg4uhXbQHmDmbC8toYE5dIqtkc1hy/vVSfmNEIO3mQcim420Gr XjYTrQM/rK9TlmaJ7PUAaZulKr97kIpFG9NmQGLs+fhbJAZ25kR4zap5d7C4SN81unvB 3eHsQsYrGS9kxAvSrclycilXkD4ozv0ymW6EwFgGUQW6SBmUvH6YUvwFl5DIzUTkYkkO INCnn3rHRoMntDtSkEx+iDR7QtYycQG+XZO1RSCClJ3MIMfJftiM+uRuAcm6EtThZdJb ocag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h127si7650217pfe.44.2019.06.11.09.47.48; Tue, 11 Jun 2019 09:48:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405559AbfFKQPp (ORCPT + 99 others); Tue, 11 Jun 2019 12:15:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:41122 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2405241AbfFKQPo (ORCPT ); Tue, 11 Jun 2019 12:15:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4009DADF0; Tue, 11 Jun 2019 16:15:43 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 2F936DA8F5; Tue, 11 Jun 2019 18:16:31 +0200 (CEST) From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , clm@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fix for 5.2-rc5 Date: Tue, 11 Jun 2019 18:16:28 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, here's one regression fix to TRIM ioctl. The range cannot be used as its meaning can be confusing regarding physical and logical addresses. This confusion in code led to potential corruptions when the range overlapped data. The original patch made it to several stable kernels and was promptly reverted, the version for master branch is different due to additional changes but the change is effectively the same. Please pull, thanks. ---------------------------------------------------------------- The following changes since commit 06989c799f04810f6876900d4760c0edda369cf7: Btrfs: fix race updating log root item during fsync (2019-05-28 19:26:46 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.2-rc4-tag for you to fetch changes up to 8103d10b71610aa65a65d6611cd3ad3f3bd7beeb: btrfs: Always trim all unallocated space in btrfs_trim_free_extents (2019-06-07 14:52:05 +0200) ---------------------------------------------------------------- Nikolay Borisov (1): btrfs: Always trim all unallocated space in btrfs_trim_free_extents fs/btrfs/extent-tree.c | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-)