From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:58627 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752026AbcJJKSO (ORCPT ); Mon, 10 Oct 2016 06:18:14 -0400 Date: Mon, 10 Oct 2016 03:18:12 -0700 From: Christoph Hellwig Subject: Re: [PATCH 2/7] xfs: check inode reflink flag before calling reflink functions Message-ID: <20161010101812.GB18359@infradead.org> References: <147588163396.12127.8356851783027062457.stgit@birch.djwong.org> <147588165195.12127.15898847119499370449.stgit@birch.djwong.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <147588165195.12127.15898847119499370449.stgit@birch.djwong.org> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: "Darrick J. Wong" Cc: david@fromorbit.com, linux-xfs@vger.kernel.org, Brian Foster I would prefer to add the xfs_is_reflink_inode check to xfs_reflink_cancel_cow_range instead dealing with it in the caller. Otherwise this looks fine: Reviewed-by: Christoph Hellwig