Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1186305lqo; Thu, 9 May 2024 07:08:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXi07GPAHN0/Ro5dJsERrXRziYw8WBVMpHX5FdkIxkrla+CL2zoI48ZWl3izVBeo3PB89vVOKPVHOsZ30zBiJ1iTRtQIfyPRRYHYBHEw== X-Google-Smtp-Source: AGHT+IGi1OdnfIGSE+pg1ot7F5H8Xqe9hn3kjxhzVqqBiYKCsW367wZENG5DZu7KAmStNsfMAUhp X-Received: by 2002:aa7:c992:0:b0:572:b0a8:65fd with SMTP id 4fb4d7f45d1cf-573326eddfemr2024988a12.6.1715263733848; Thu, 09 May 2024 07:08:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715263733; cv=pass; d=google.com; s=arc-20160816; b=PwO6+OunY0j8B2wIW6WoaLxLnW2BxazV+r25arUXxgwXbE6kZTChbdNoU/6M7sn4N+ W7WknsBIOxD6QEs4C5reyDv+hvF1H6m3wv1oi8lgxR2Qs5hO6i5lDAP3Cd3kUVNv6i3F Gk0D2lDOjFv0mI6+HrjH06k0ihh2NvOGFfqReCycZjnZ3vQNTLEeIXS74KVXz1AOuhd8 qOAY7oFieC2y+bWndxw8YCsRznuwYc9flL3HdHcjPSBoXs8z+skAmtK1g8GEQ12RhgD3 a6bMRC1tC66ebY5yxUhypgAgDpPFRVKSRKAWp6GKWvA2W/Ow3nekN7Uiz50fkf8N8C8S xFRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:cc:to:references :in-reply-to:from:organization:dkim-signature; bh=JiFidWgVbo7lpqQfwmJAj0eW1ruWTPsb153Mm5x9pLE=; fh=xHGlVkDwBe6HyOaI4Dq6pAgoZXeTv//PQa+9x3zNr6c=; b=p5XLwVoiPIiWLRrF1cPA5xKar2DcqRy6fjtUnTaKOtqg227zMeseVh0rIaNt0KKptT bMUWvmz3sl+0sYTbJE1hF1idEu/gmbn5Er7Yzl84fIKJAmjKa++ryR53FXtaH2zVohuI 1B+JHnJn1hMN50mbuEVYkVlzddU8XqdEhxjpjmEjHvvKnhmJifF4EkiRrKqQsOn3O16N /t3byH4pq+xugJK7Fo/O4e3dHN3waqQEpBJqAx9Xue8uOaSkW9HDG2Rgw+c6FT+m9L7M BC/kYku9TZ0trZkiPwTQcwfgt+mlgLpUoaBrVngj1ReKt8RGNH7thJUGV7Hh4/l5eqBm 4gOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HHhbdyKL; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-ext4+bounces-2416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beac399si865610a12.111.2024.05.09.07.08.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 07:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HHhbdyKL; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-ext4+bounces-2416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8FE111F219C6 for ; Thu, 9 May 2024 14:08:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6460715ECFB; Thu, 9 May 2024 14:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HHhbdyKL" X-Original-To: linux-ext4@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8847116D9B4 for ; Thu, 9 May 2024 14:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715263649; cv=none; b=bUbOIP2KNnCLxqDRmv7TiXQbGeT/JKjKVeRcJBne0rGulcXp0U1k6Nak40ZvT9QMi1RfRa8cqCH1yDQHZazKLeiVzLK9BxhqeI/5QkUGBhogdxD7BTN152uuqluxNaF3GVDiE/nROcj4i2V/OsB7DaI5WVCizr0gnJy+ChGbRT8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715263649; c=relaxed/simple; bh=JiFidWgVbo7lpqQfwmJAj0eW1ruWTPsb153Mm5x9pLE=; h=From:In-Reply-To:References:To:Cc:Subject:MIME-Version: Content-Type:Date:Message-ID; b=ewf+R0jPHnQA/GD7xtbKx6FipkUJQYaVam8UvCR2fhjFYZLMnBuXFFTzAlECtqD2v0SHhwqUFsbB9IWvwYA3BPci47bIE8O2NB63UstTncQjV3TI3ZyhqBmfJYRT+ltODHnNtJY7xjRvpk/VKQJfMns5fWdkjs4Bsgv2nCh/oRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=HHhbdyKL; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715263646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JiFidWgVbo7lpqQfwmJAj0eW1ruWTPsb153Mm5x9pLE=; b=HHhbdyKLAnczosDVK8g/asQtGAzYea5k+e1G8rBlmh88ukkSHLOv+HdyIXmAZCPQe5fxWU p90+SyXVWr0Gl1qEmRbgzwxQY24RxZFbmx+UrL0uNKLMN54O5R2/y+jmbT5JgrRpLwwQ3j nvcvDjru9AK094CgSPnWfvDlahtHuZk= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-93-UhHeasztPz2R59_V14Vzyw-1; Thu, 09 May 2024 10:07:20 -0400 X-MC-Unique: UhHeasztPz2R59_V14Vzyw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 792063C0D7B4; Thu, 9 May 2024 14:07:19 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 202345AB8CC; Thu, 9 May 2024 14:07:18 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <1553599.1715262072@warthog.procyon.org.uk> To: Miklos Szeredi Cc: dhowells@redhat.com, Max Kellermann , Jan Kara , Christian Brauner , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: Don't reduce symlink i_mode by umask if no ACL support Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1554508.1715263637.1@warthog.procyon.org.uk> Date: Thu, 09 May 2024 15:07:17 +0100 Message-ID: <1554509.1715263637@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 Miklos Szeredi wrote: > I think this should just be removed unconditionally, since the VFS now > takes care of mode masking in vfs_prepare_mode(). That works for symlinks because the symlink path doesn't call it? David