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=1795956563; b=irQG4R19sV0QeNMEGFmGv9Gn9jkJPm03w9+6RtfrIBjdtCadlrG/S9MGPgp8R81tu2lw 1+fPax/cScA/wO/ZyyOG6+gKNpIyECRQLkjs/LtUb2+1Ng4HxjYZ6mI45wv2WqqDAtiuk 5GdPJTXRdOqL1Ku4pSfWLTG+Rhs0eoydZNFfARSa/pqRHoF8eq4wzat+oVC4osHzY7b+k yGhljuVq/B6uF1E4S1EOh1Xx0r8lml9s/DlQ2FMspiWK8jBWariQY3Sv19leE/fjziqTj bwVVRxMpBJ8DCDniI8+sjesZKxnasC1sJ2pw4DlsQq1hUXXx8Mr9KVcSCM8EC0wfXmA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795956563; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=Ov0mZlD8Lx28UhQeZtjoVhHyFOM6blLMk+u1DoGSiuY=; b=Z3khxCzDBLgALJ+HvRucTFkqS44tNwiQAzQblu7sBk+jr1QEtVeBhMD3KmbZwsOJHdDU 9wr1IcYao85HEE8CyB5BsAQf/D/mO+O8neBAYA2WXi1OeVvSUguAkPWlDxpF8mip/obZo uhf20hW3/Pdb3cPa5agsXPbnQhZioVLFx3ydNOzCZ1BRR1IdYgLt1bulKADrSGnUwwj5U ZCfQIuqP7xlw42zaVxnCwCCo64GJDxQybtW6D5yoRtcswrf+k87LMXb2mYElu7uGlrwnn g4pqHtTW6PIvR0lqBXbsYbIRaDv3Eb7+TLgZO/9Fp1tjQDfZ7tnbC3dNhX930zDhtCg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Oi6RjQmQ; 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 C8512606A31C; Sun, 29 Nov 2026 12:49:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Oi6RjQmQ Received: by smtp.kernel.org (Postfix) with ESMTPSA id D58011F000C1; Sun, 29 Nov 2026 12:49:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795956563; bh=Ov0mZlD8Lx28UhQeZtjoVhHyFOM6blLMk+u1DoGSiuY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Oi6RjQmQw64aUU2MBh/N9j8S0nT7jdiub2qIOddpNoWzjPmbXFj9j21M9nCSM0T/I Tzrcn3QymQ8NDVQuENRvPWmzuAp6uTYe01/hL+kpqORvPZa84jHixPpENx8TLk8aH4 D/JUMESqcQ6cw6HpE37Hzzm+/LlwWv4G4HbNIsbY= Date: Sun, 29 Nov 2026 13:49:20 +0100 From: Greg Kroah-Hartman To: macchacat@pm.me Cc: Breno Leitao , Andreas Hindborg , Slawomir Stepien , William Chuang , Roy , linux-fsdevel@vger.kernel.org, linux-usb@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+8c0a48f6c8357c9da819@syzkaller.appspotmail.com Subject: Re: [PATCH RFC v2] configfs: don't lock the root inode in configfs_depend_item_unlocked() Message-ID: <2026112916-bunkhouse-xerox-4ce3@gregkh> References: <20261129-configfs-depend-root-lock-v2-1-8e7210fac4f3@pm.me> X-Mailing-List: linux-usb@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=us-ascii Content-Disposition: inline In-Reply-To: <20261129-configfs-depend-root-lock-v2-1-8e7210fac4f3@pm.me> On Sun, Nov 29, 2026 at 09:38:55PM +0900, Haruka Amakawa via B4 Relay wrote: > @@ -1103,17 +1105,19 @@ static int configfs_depend_prep(struct configfs_dirent *sd, > return ret; > } > > -static int configfs_do_depend_item(struct configfs_dirent *subsys_sd, > - struct config_item *target) > +/* Caller must hold configfs_dirent_lock. */ > +static int __configfs_do_depend_item(struct configfs_dirent *subsys_sd, > + struct config_item *target) Mark this with __must_hold() please. thanks, greg k-h