Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 786824DF4C2 for ; Fri, 16 Oct 2026 15:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792164516; cv=none; b=b5ZBqkt3D0vE7zPJPRHjm5e0eW9hSe9izyPUggp0NY6pw+F4/0Ia7023okWWU8S9aGpg4E940D9f0FVM3tT2AgcDDqF0ocHnXRz6phwm8izGJLbeuWqhR99n1X3n8KJlPQzam94s3hnoxY+s9Ae2WlUZfA0Lh2oTT7eH89Xeri8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792164516; c=relaxed/simple; bh=45LS1UdziFdH9/L28pE18LpNfUOLryxMUFQxNA+kup4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TyfRQxkaooM513WMxmgx5kQBZd8yk/6a4fsm/eW5xB+pCOhTwW0GcwseUE4Q2JdXfEzo2YQ63UlOte/hQINW0ngFgiru/bOJDl9CbwiP9LqaCN+B1I946pQx8eUtSEBzTdcPx8cPm18mEzaHl2hcinUZ4SCyCXXxGiKd5Is85zI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=m4II8lO2; arc=none smtp.client-ip=209.85.160.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="m4II8lO2" Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-5361e313e63so73181cf.3 for ; Fri, 16 Oct 2026 08:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1792164514; x=1792769314; darn=lists.linux.dev; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=P2YR4vuawodUu/XM3aGdAaeSVvyprcEIWQFxlPCqAas=; b=m4II8lO2G9o2ufniDyOFkhVJLvpCbN3URn7QxKrV4HTnI+o5jWK3OuA75GNOlz9iQ4 F6LcgVwAVMjwyBLvAn8o1zhHyPHQJl7ls88YUcmijBRY2xGFsBlpP8ssXIyLwk4ocoDt y5LAcWJBot7XEAqfHaed02TfBgshSQ6Jy/M+r6LCs0wzQD88DYsRnpLgIWXMFlxZ6MFh hl4pCnbkkaHgkhoS+6iK+CKFF4knFnJPQwaeSiQMUGfLlFfxSlVgagD1Ge/6fkyjkKlj orw76TLpIJ4iVP8DTS1044479R3AJv+Gao+wvqpb+Yqy3VMf/2K3f/J4x/XgptGcf/tp T8Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792164514; x=1792769314; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=P2YR4vuawodUu/XM3aGdAaeSVvyprcEIWQFxlPCqAas=; b=aeubSdAhBVXXN/jEMWR4410DVO3gp8TJqjvtX4joMGK1qZl3/0833KP4oKCsqieCzR ml5VhXZG9rhVGSrqjnJDCArvCHdR5aOATFQFwiYDrLJRqgkwTA5fI4awxo/1+p0raYci QZKZGfXQDxJFXpbc6OjcR0VzsQQGIzbfUGMUmchY9nY6iaYrQU0ivt6fAqdfcMS1a8Ov NXtuRDBlGy+NKeTTpsD2GPxNInqPjgkFY1M5ng+wuGNisDsLn7cXRJJ5s4PXvzx7k1px Aj3N6bpveHg+Pqgw13KssObwcl6EYZDrHPz8MBzhIXQhwz+IdMsAHL87Ul4S7zCHYFY/ XHnw== X-Gm-Message-State: AFq9FYK9EYHn940++bBlTxeJ5BVRnpjdBQQFCzanwxia2FYqXNQfpqWC FHgXTcFBCioaY2wWXtYSpteTsZj+W/FtiHtDaxlf5RBAR0IsssR9Xr+KefAO2JGJ85c= X-Gm-Gg: AYBFou0wsFgvl03p0DX4Dt4S+VXpo017qhEdu6F6+jWEOUgVFhO0riyIXpCihovCbPz omYNdioZffKeYmvLF3qw2nfaHcWOSAZCk7qM4PbVETTL+o2WhlAbgIma+9kGYicu7u7vb3HfVup Y3aC5T8+eRky7UR9M4Fnw7TmFbqDCv5GXKgIRCeaPTUFvQYmXNzj+iQo9ujIXhHQZemKec1Vb4A hL4iQBtVmDRAh0GJ4AN/DxbXYM4GpxtnfPoLxtLyY4G8HvihjGmOEQdHCclb8YlC2zIHtAX0eA0 laWFvQSzqhTVyahhq11dRzmzs2s/hp7DagM20oNkIIHRDGEHW9lSbhAsE4k5ImaxD1gA5wg0KEi LwHyb85MpQwYl3K+57LMqsSQ4bZFz8ATSh/nq8IF37WLl1+gnKVasgQVdttQgqWFzA5SN4QFokR gDGLMfJY5BwY3VajCcn272RbaF42k+TeX/SkL61rN3pCOlA6HntKstmLDAWB8z12BHhWxpD0AFB Ls5IrrnvP0lFuXBmsZKbFLloH/VoB/ILjEMJ0nUHE5CB8SadvA81uE= X-Received: by 2002:ac8:5ad4:0:b0:534:b7b2:6353 with SMTP id d75a77b69052e-53629a699c9mr49329901cf.56.1792164514309; Fri, 16 Oct 2026 08:28:34 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-173-79-60-52.washdc.fios.verizon.net. [173.79.60.52]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-5362aa19fefsm25018821cf.23.2026.10.16.08.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2026 08:28:31 -0700 (PDT) Date: Fri, 16 Oct 2026 11:28:29 -0400 From: Gregory Price To: Miklos Szeredi Cc: fuse-devel@lists.linux.dev, John Groves , Amir Goldstein , "Darrick J . Wong" , Vishal Verma , Dave Jiang , Alison Schofield , nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org Subject: Re: [PATCH v5 01/10] dax: add fsdev_dax_from_file() Message-ID: References: <20261016151638.2962413-1-mszeredi@redhat.com> <20261016151638.2962413-2-mszeredi@redhat.com> Precedence: bulk X-Mailing-List: fuse-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261016151638.2962413-2-mszeredi@redhat.com> On Fri, Oct 16, 2026 at 05:16:28PM +0200, Miklos Szeredi wrote: > From: John Groves > > If the file is a fsdev_dax open, take the dax_dev from the device inode's > i_cdev. Return with a reference grabbed on the private dax inode. > > Make dax_dev_get() static again (internal to super.c for alloc_dax), export > fsdev_dax_from_file() instead. > > This fix is in response to a Sashiko review, and some subsequent analysis. > > About the 'fixes' tag: this removes the export of dax_dev_get(), which was > flawed, and replaces it with fsdev_dax_from_file(). It feels like the fixes > tag makes sense for correcting an ABI error. > > Fixes: 2ae624d5a555d ("dax: export dax_dev_get()") > Originally-by: John Groves > Signed-off-by: Miklos Szeredi Reviewed-by: Gregory Price (Meta)