Received: by 10.192.165.148 with SMTP id m20csp2811410imm; Mon, 7 May 2018 01:21:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrlIXEy4zB+v1MideeCzS68eyjveu++QNabxhEvuTV9KTDmY7lqw9jYwaNk8JKS80CgFFDV X-Received: by 10.98.131.69 with SMTP id h66mr36376062pfe.0.1525681300755; Mon, 07 May 2018 01:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525681300; cv=none; d=google.com; s=arc-20160816; b=xjA5kFP/QYm35P/a/MDt4FHaPVY4S6Yw3BBdEGCpBN9OczDXpA5clP2pX7JMc5jzX1 sc6xg8NSbCGeqnbRiOUL/pXhZd+122g/5SoWst1igDmTANmEqWWRkdPKVAbcrP5nL5mA Allu35GK2WICMs4BubG66YsZEzUKQlavM0dMmpiJb1/iHo8m84KYl/58xxoJv3djtr2b VeZ4P6nozWhi15etevxZjLoeHoKgeXg/deTsm0dqb5XBZqYQSbyQYwwdmQi6OtICl/cs 99GqoRAY6+pykDAOcvBNDTBu7nWH6QB4eHdYzjGg4M35GyazHOGNoMZunGfUT9SPGLID wEoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7iS9z6QfKCeT5DTUAul2X7aQrHimteCljNMKa4qx46k=; b=F60/YCCBVAXpiaLb3EProNoWYCzqszMe3DJhF5cb0mBpz2+xn39dPu52Jp3XW3MEJ1 S8SxcXHhP/FOvx7/gIL89+jhKuEFukIy47zNxAuHK63IQWR5CJDhzLriqalvds4zGVZ8 IZdimAy1Ykbhdxp7kRSglxWqWCQUCZqxUFgdacYFRxugdUyjzXAtFU+FJqycqy32et5Y y3SOTeKst4cRVmV/8pYeR8Mmer5t9btBAjqSO+gyegtKaxWego8Es4EmQa6STL0/zJxY rMyeC7QavrvK6boj4O84Hj7S+RzscsTrsVDG4bg1kMBrhkcJSZjJJQfsbADw8Eqq4LHQ J2og== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13-v6si14459646pgq.138.2018.05.07.01.21.25; Mon, 07 May 2018 01:21:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752026AbeEGIVS (ORCPT + 99 others); Mon, 7 May 2018 04:21:18 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42403 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbeEGIVO (ORCPT ); Mon, 7 May 2018 04:21:14 -0400 Received: by mail-wr0-f194.google.com with SMTP id v5-v6so27797220wrf.9 for ; Mon, 07 May 2018 01:21:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7iS9z6QfKCeT5DTUAul2X7aQrHimteCljNMKa4qx46k=; b=Ldl8zm/xGBsS7u5kjVYJ5WVeWwbC+w9KdK7749Z8mgqkmnSSxWshFvxhsSk348Rql0 rSJZs0A9+iC3BFoTYPDX+qC2DQ/ai1YbS2TaJyH8S80mA/b42YpywoB1aiHtKx2fCgVG xometMIe87ASvP5986GPBCe0WjUomQ940STdBBk5vX+xOTJsNgYPeavOS+KvxpcUCNsE HiW1qG3BPKaYI/kZUaR1pXrQyYiD+Vqt1OqLBsEw/jPeXULKL/Srokeq5P8emj/5yLYk bzKNJjbz6iNRRhmE0201AMx+14AL0HUU3pfobcr5CkX5dKDYGyN9j787V0j2dvc8NUQQ nPGg== X-Gm-Message-State: ALQs6tA7lI4ubykbwaxLysO73/PFgwJ3n7lma1YMM+0ZTa1kjNFQExpk p3FiKoua3WkdiygFJDEUmemGXg== X-Received: by 2002:adf:82c4:: with SMTP id 62-v6mr6816718wrc.273.1525681273610; Mon, 07 May 2018 01:21:13 -0700 (PDT) Received: from veci.piliscsaba.redhat.com (C2B0E321.catv.pool.telekom.hu. [194.176.227.33]) by smtp.gmail.com with ESMTPSA id w6-v6sm26991776wra.16.2018.05.07.01.21.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 May 2018 01:21:12 -0700 (PDT) From: Miklos Szeredi To: Al Viro Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Amir Goldstein Subject: [PATCH 0/3] vfs: dedupe: cleanup API and implementation Date: Mon, 7 May 2018 10:21:05 +0200 Message-Id: <20180507082108.28186-1-mszeredi@redhat.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Al, Please apply this is a small cleanup/fix series. It is also a prerequisite to the overlayfs file stacking patchset. Git tree is here: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git dedupe-cleanup Thanks, Miklos --- Miklos Szeredi (3): vfs: dedpue: return s64 vfs: dedupe: rationalize args vfs: dedupe: extract helper for a single dedup fs/btrfs/ctree.h | 4 +-- fs/btrfs/ioctl.c | 6 ++-- fs/ocfs2/file.c | 10 +++--- fs/read_write.c | 91 ++++++++++++++++++++++++++++++------------------------ fs/xfs/xfs_file.c | 8 ++--- include/linux/fs.h | 2 +- 6 files changed, 65 insertions(+), 56 deletions(-) -- 2.14.3