From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796130433; b=MPcVw6i7TYOUrw8dP3952HMBYxC2NUtJQjzJLP/AUQ5SHkeStlkF5qpM8WxFTKS91NNf jAs1CK7Eg2xDgRwa92azsmRf/Lz6HfkwNi/9UHOBDXlzkPqMbev4cxK8qQMpyNnzRfd74 Hk8DchAtfUQ/wRZFvnYuhfAYMFIGdtG73eoWuEji1QykG7Ywr4nej6HH5bMKr4xpzTvXQ vEX9Rc0RyhxM0xbtni0+q2W9oXwyYU613+gwvaubB7F+Q6vdAj9t4n1Ma1Z/EFUlVXRy/ ZLmWjdsdMNH1oxUk4g+f9W6UD3wDvx+s9a8CNrMro9tnL8jf7H7FXjBybQdlgW/aimw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796130433; h=Received:DKIM-Signature:From:To:Cc:In-Reply-To:References:Subject: Message-Id:Date:MIME-Version:Content-Type:Content-Transfer-Encoding: X-Mailer; bh=Jj0MJjo/+u0sZ44kCIRdAtX50vmg2ucsN1ccS0MrJOs=; b=iHjoDzcYuo9AOX80eEe+D0jMPDqgYw6azBksAesS0KS2ia2cXVemKMSNjtxvx9JLSIPx QGKUeguHDfVA6Tq8WXxYShXKWjEylpKM5i2qCF3eJ+rnEysVaAJlrtkFcynAPdJuh7r/K S/vgzkRPGNC1H3Er4+pesRW/3MM5T/tS//MtxAfd38Bg7nUlYXcCPojXJ7+Z9xN48P5Xt tBS6JKgUVwUBOmiCcn0HChf8U6w+nhqtw8eUeaRJP88pZKVKz/u4EF6nrADNnqZe0XWHK dHsSZRb+OqnBCHG4RZGPos61rZBmv8g9YYoWMcGxdxVB0teW3clo4MCobs2c27JA8jA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eXnfaa4z; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5650A606A32C; Tue, 1 Dec 2026 13:07:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eXnfaa4z Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F7E11F00893; Tue, 1 Dec 2026 13:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796130433; bh=Jj0MJjo/+u0sZ44kCIRdAtX50vmg2ucsN1ccS0MrJOs=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=eXnfaa4zz5geIvtXyOVO/O48yVdfRwNq6C/PIMDKb5VfQPF527sFO6TmXSxtjzxJT 3yYu6JIiZ7aJhLIffoCgrHM4hwha2Z08/BBALXa3mNjjyz8D1VPruOXFvFy/LQ2U6N 1cQeC/Rdk5C9bfBtlPhHFxCs17vmOdkGCcxZBJQJl6N8tG2ekivSwnbv7HTEP3NAWs hTFuvyqUCF0HxwTTjemwQb9Bm1/aml4In722lqhTl4mXceXKVAXn/Ki6IAiiQTP6HT gNjy6AbaJJBQZbFQeUA5OtzOr7ThWir9nHEkZvWRTCsIofiExArBNtM5iMRyCdHWEr PXxdEApLX3Tsw== From: Christian Brauner To: Alexander Viro , koraynilay Cc: Jan Kara , Edward Adam Davis , Amir Goldstein , Miklos Szeredi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org In-Reply-To: <20261124150108.189282-1-koray.fra@gmail.com> References: <20261124150108.189282-1-koray.fra@gmail.com> Subject: Re: [PATCH] vfs: fix file_getattr hint to request xflags Message-Id: <20261201-giebel-bildlich-wochen-839a9ec9c871@brauner> Date: Tue, 01 Dec 2026 14:07:09 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.17-dev-04696 On Tue, 24 Nov 2026 16:01:08 +0100, koraynilay wrote: > When using a FUSE mount over an underlying filesystem that supports > xflags, querying them from userspace with file_getattr() strips them > because file_getattr sets flags_valid = true so FUSE uses > FS_IOC_GETFLAGS instead of FS_IOC_FSGETXATTR. > > Fix it by setting fsx_valid = true instead. > > [...] Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/1] vfs: fix file_getattr hint to request xflags https://git.kernel.org/vfs/vfs/c/35258949f900