Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750915AbdHLHtb (ORCPT ); Sat, 12 Aug 2017 03:49:31 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:37115 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750726AbdHLHt3 (ORCPT ); Sat, 12 Aug 2017 03:49:29 -0400 Date: Sat, 12 Aug 2017 00:49:27 -0700 From: Christoph Hellwig To: Nicolas Pitre Cc: Alexander Viro , linux-fsdevel@vger.kernel.org, linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Brandt Subject: Re: [PATCH 1/5] cramfs: direct memory access support Message-ID: <20170812074927.GA8703@infradead.org> References: <20170811192252.19062-1-nicolas.pitre@linaro.org> <20170811192252.19062-2-nicolas.pitre@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170811192252.19062-2-nicolas.pitre@linaro.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 120 Lines: 2 Direct physical memory access in a file system is never safe. Please make sure this goes through struct dax_operations.