From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Wed, 17 Oct 2018 01:26:00 -0700 Subject: [Ocfs2-devel] [PATCH 04/26] vfs: exit early from zero length remap operations In-Reply-To: <153965942391.1256.1491987046439132016.stgit@magnolia> References: <153965939489.1256.7400115244528045860.stgit@magnolia> <153965942391.1256.1491987046439132016.stgit@magnolia> Message-ID: <20181017082600.GA16896@infradead.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Darrick J. Wong" Cc: david@fromorbit.com, sandeen@redhat.com, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, ocfs2-devel@oss.oracle.com On Mon, Oct 15, 2018 at 08:10:23PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong > > If a remap caller asks us to remap to the source file's EOF and the > source file has zero bytes, exit early. > > Signed-off-by: Darrick J. Wong Looks good, Reviewed-by: Christoph Hellwig